Started by
As1759
on
Topic category: Help with Minecraft modding (Java Edition)
I have a piece of code for an item to say something in the action bar on tick for the inventory, but I only want it to play the message once. How would I do this? Would it require something else completely?
Use a logic item property. On the tick update check whether logic = false, if so send message and set logic to true. This will make it only send once ever per item. If you have a series of messages, use a number and have each number equal to a different message instead of using one logic per message.