Started by
R_XclusiveNL
on
Topic category: Help with Minecraft modding (Java Edition)
Hi,
Im making a mod where if theres more than 9 items in a specific chest,
it removes those 9 specific items, and adds a new item in it.
Lets say if theres more than 9 iron, it will remove 9 iron, and replace it will 1 iron block.
Ive tested this procedure > https://prnt.sc/24yhjad
And also the Slot & GUI versions of these.
Nothing works? can someone help me out?
Much appreciated
Where does the procedure triggers? It should be on the Update tick trigger of the chest block.
Also, waht is the Moditemtime variable? if it isn't 0, the if block won't proceed. Maybe you should use the "send in chat to all players" block and print this variable.
Also keep in mind that based on the procedure you have linked, it will only check if the slot with ID 0 (which should be the top left slot) has a total of 9 items in it's stack.