Started by
fifugan_1798
on
Topic category: Help with Minecraft modding (Java Edition)
Ive made an item that gets damaged as it is held but for some reason it plays some kind of reequip animation over and over again resulting in the item not even being visible in the players hand
code:
I guess you need an item that when is held makes you faster and damages itself, I made a working procedure for that:
-global trigger: on player tick update
-if item in main hand of event target entity= "your item"
-add potion speed
-deal 1 damage to item in main hand of event target entity
I'm not really sure about what caused your problem (maybe something is wrong with what that procedure is triggered by) but this one works perfectly
You mean like this: https://i.imgur.com/lcgR8mQ.png ?
Because it still happens, maybe an issue with my game?
Really weird, that procedure works for me, what MCreator and Minecraft version are you using?