Skip to content

Add the minecraft:disables_blocking melee weapon type - #105

Merged
ErrorCraft merged 1 commit into
0.7.0-preview.3+1.21.11from
disables-blocking-melee-weapon
Aug 2, 2026
Merged

Add the minecraft:disables_blocking melee weapon type#105
ErrorCraft merged 1 commit into
0.7.0-preview.3+1.21.11from
disables-blocking-melee-weapon

Conversation

@ErrorCraft

Copy link
Copy Markdown
Owner

Moves the disable_blocking_for_seconds field to a melee weapon type named minecraft:disables_blocking. The disable_blocking_for_seconds in the minecraft:weapon data component is still present and used to keep compatibility with existing data components.

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
    }
  }
}

@ErrorCraft
ErrorCraft merged commit 9d90cd4 into 0.7.0-preview.3+1.21.11 Aug 2, 2026
2 checks passed
@ErrorCraft
ErrorCraft deleted the disables-blocking-melee-weapon branch August 2, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant