Started by
fafsasfafawfasdw
on
Topic category: Help with Minecraft modding (Java Edition)
How to make it so that the item state only changes the item in hand, and not all items of the same type held in the inventory?
Topic category: Help with Minecraft modding (Java Edition)
How to make it so that the item state only changes the item in hand, and not all items of the same type held in the inventory?
well it depends on how you're providing the state,
The item state changes when a specific GUI is activated by right clicking it
can you show the procedure?
This is my procedure:
I couldn't find anything that would make the whole procedure only for items in hand
yeah that'd probably be hard to make not global..
maaaybe you could set a tag on the player when they rightclick the item and then unset it when the gui is closed,
Unfortunately, the generator I’m currently using doesn’t support the item_nbt_logic_get block. I’m using a plugin for the Fabric 1.21.8 generator because it’s very important to me to be able to create a mod for the Fabric engine on one of the newer versions of Minecraft.
then use a global variable