Started by
sw0rdmas73r
on
Topic category: Help with Minecraft modding (Java Edition)
I am working on a mod where it requires the player to hold specific items in order for specific things to happen. However... I don’t know how to check if a player is holding a specific item.
You can tell when you have the object in the main hand (main-hand)
and in the secondary hand (off-hand)
use "on player tick update".
https://imgur.com/a/EJpYg3P
i am making a mod that creates paint blocks but when i try to delete it it creates another paint block and i can also delete other blocks