Minecraft:Data component format/piercing weapon: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| Line 7: | Line 7: | ||
*** {{nbt|string}}{{nbt|compound|hit_sound}}: Optional [[Minecraft:sound event]] to play when the weapon hits an entity. | *** {{nbt|string}}{{nbt|compound|hit_sound}}: Optional [[Minecraft:sound event]] to play when the weapon hits an entity. | ||
**** {{nbt inherit/sound event|sounds}} | **** {{nbt inherit/sound event|sounds}} | ||
</onlyinclude> | </onlyinclude></div> | ||
[[Category:Data component format subpages]] | [[Category:Data component format subpages]] | ||
Latest revision as of 11:05, 17 May 2026
- Template:Nbt: Melee attacks using this item damage multiple entities along a ray, instead of only a single entity. Also prevents this item from being used to mine blocks.
- Template:Nbt: Whether the attack deals knockback. Defaults to true.
- Template:Nbt: Whether the attack dismounts the target. Defaults to false.
- Template:NbtTemplate:Nbt: Optional Minecraft:sound event to play when a player attacks with the weapon.
- Template:NbtTemplate:Nbt: Optional Minecraft:sound event to play when the weapon hits an entity.
- Template:Nbt: Melee attacks using this item damage multiple entities along a ray, instead of only a single entity. Also prevents this item from being used to mine blocks.