Tags
Creators
Details
0.7.0-preview.3+1.21.11
Compatibility
Changes
This preview version comes with a new melee weapon component and a fix for smashing weapons.
For a few more details regarding the new future you can look at the roadmap to 26.x!
Changes
Item Behaviour Components
minecraft:weapon
- Moved the
disable_blocking_for_secondsfield to the newminecraft:disables_blockingmelee weapon component.
So if you had this:
{
"attack_damage": {
"default_damage": 9.0,
"rules": []
},
"attack_speed": 0.225,
"disable_blocking_for_seconds": 5.0,
"item_damage_per_attack": 2
}
You now have to use this instead:
{
"attack_damage": {
"default_damage": 9.0,
"rules": []
},
"attack_speed": 0.225,
"item_damage_per_attack": 2,
"types": {
"minecraft:disables_blocking": {
"seconds": 5.0
}
}
}
Melee Weapons
minecraft:disables_blocking
- Provides a way to disable an attack blocking item that is being used.
- Fields:
seconds: A non-negative float. The amount of seconds to disable the attack blocking item for.
- The
disable_blocking_for_secondsin theminecraft:weapondata component is still present and used to keep compatibility with existing data components.
Example:
{
"minecraft:disables_blocking": {
"seconds": 5.0
}
}
Fixes
- The correct sounds are now played when using a smashing weapon.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ZclAAHfk:6OvGoL5f"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ZclAAHfk:6OvGoL5f"
}

