Hello, how to check if current screen is an container, loop through slots, and if item in slot is pumpkin move this pumpkin to player ?
Now i am stuck on ClientTickEvent
Forge v : 1.14.4
Hello i want this code to the left equals to the green wool, but i dont know how what method to use to summon it, i just can't find it
cont.getSlot(i).getStack().getItem()== BlockColored.
Hello, i am learning to making mods in forge, and i gave myself a challenge to make mod checking if there is opened inventory and if Yes, its stealing pumpkin but i dont know how to check if inventory is opened, loop through slots and move item from other inventory to Player inv. Pls help here's my code :
https://pastebin.com/9uPs7BTr
Hello, i am learning to making mods in forge, and i gave myself a challenge to make mod checking if there is opened inventory and if Yes, its stealing pumpkin but i dont know how to check if inventory is opened, loop through slots and move item from other inventory to Player inv. Pls help