Started by
STOF1
on
Topic category: Help with Minecraft modding (Java Edition)
I am new at mcreator
I work at old version of mcreator, 1.12.2.
I wanted player to give my block a diamond, and in return it gives player a sunflower, but nothing happens.
This procedure below is connected to the button in block's gui.
your procedure should be If get item from slot 0 of the currently opened GUI = Diamond
do remove 1 from slot 0 of the currently opened GUI
add 1 Sun_Flower to provided player inventory
because with your procedure your basically telling Minecraft, "if there is no items in slot 0 BUT there is a diamond in slot 0, do this"