Started by
Gabriele007
on
Topic category: Help with Minecraft modding (Java Edition)
How can i make that if i have 8 apples in my inventoy for example, do an action? I know that there is the "has event/target entity in inventory (item)" block, but that doesn't check for the amout.
Here it shoud work with this procedure
Thanks, i will try this later.
Also, how can i know the number of a specific item the player has in inventory, and use the same number somewhere else?
Global Variables. Change them in procedures and you can usually get the updated value in another.
Good hint. I think i will use while this item is in inventory tick + global variables.