Started by
madcock83
on
Topic category: Help with Minecraft modding (Java Edition)
I want to keep a stack of say cobblestone in the players inventory if they have this item ive made in it.
so I want to check if the player has less then 64 cobble stone and if they have less then add up to 64 cobble in. if they already have cobble then do nothing.
I thought i had it figured out but i cant seem to put the procedure together that would make it work. Any idea how to do it
basically just trying to check how many of a single item is in a players inventory
I have ansvered there already.
https://mcreator.net/forum/13025/check-number-item-inventory
That topic seems to be gone. Still need this.
Dunno if this is still a problem but I made a video specifically for this a while back. If you still need it I hope it helps :)
https://www.youtube.com/watch?v=gfINcKSsfCs&feature=youtu.be