Started by
KillerCat8293
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a block that has an input GUI box and is supposed to spawn an item underneath it if it detects that item but how do I find what item is in the blocks inventory to go in a if then blocks code?
event triggered when gui closed:
If (red item in minecraft components) = (red one from logic) get a copy of item from slot 0 of block at x y z if it has inventory
do