Started by
ClOud1076
on
Topic category: Help with Minecraft modding (Java Edition)
so what i want is, if the player right clicks an item it will do something like summon a projectile, then when the player right clicks again it will do something different. i dont want it by random chance. hope you guys understand xD
You have two possibilities how to make it. First by randomization. The second is made by certain order or pattern. You can run a procedure by clicking the item and change the item NBT number tag at the same time. Then you can check for the NBT tag value and run another procedure.
Can you give me a procedure? I'm new when it comes to nbts and variables