I am creating a datapack that allows players to use spears with shields by temporarily removing the minecraft:kinetic_weapon component in the venila spear while a shield is in the offhand and restoring it when the shield is removed.
After the restoratsion of the (kinetic weapon) the animation continues even after the kinetic attack's configured effect window has ended, while the player continues holding right-click.
I would like to know HOW or IF it is posible to make the animation not loop...
i have used the "minecraft:use_animation": "spear" but visual studuo code unter lines it with "connot find data_component_type" i even updated the "spy glass" extension
I AM STUCK
(i bet its an easy fix to)
i remove the component with a tick mc funcsion:
then i add it back with:
I have ZERO clue how to move forward and im SO close
1 Comments
Please sign in to leave a comment.
Post a new comment: