Minecraft:Data component format/kinetic weapon
From SAS Gaming Wiki
More actions
- Template:Nbt: Enables a charge-type attack when using the item where, while being used, the damage is dealt along a ray every tick based on the relative speed of the entities
- Template:Nbt: The time in ticks required before weapon is effective. Defaults to 0.
- Template:Nbt: The condition under which the charge attack deals damage.
- Template:Nbt: The condition under which the charge attack dismounts the target.
- Template:Nbt: The condition under which the charge attack deals knockback.
- Template:Nbt: The distance the item moves out of the wielder's hand during its animation. Defaults to 0.0.
- Template:Nbt: The multiplier for the final damage from the relative speed.<ref group="note">The damage dealt is calculated as
floor(relative_speed * damage_multiplier), whererelative_speedis the difference of speed vectors of the attacker and the target as projected onto the axis of the attacker's view vector. Any additional damage from enchantments or attribute modifiers is added after this calculation.
- Template:Nbt: Enables a charge-type attack when using the item where, while being used, the damage is dealt along a ray every tick based on the relative speed of the entities
</ref> Defaults to 1.0.
- Template:NbtTemplate:Nbt: Optional Minecraft:sound event to play when the weapon is engaged.
- Template:NbtTemplate:Nbt: Optional Minecraft:sound event to play when the weapon hits an entity.