Started by
Theshortcircuit
on
Topic category: Help with MCreator software
Pretty simple, I want to create a merchant mob
I've tried making a gui, and having it open when right-clicking the mob, but it doesn't work, I get an error during recompiling.
Second issue, so, I tried using a block instead of a mob, not ideal but just to see if the gui works, opening it is fine, but when I put my item into the input slot, the other item shows up in the output slot, but I can't take it, when I exit out of the gui with the items still in it, both the input and output items fall out
Please help
Have you tried using a stack event. So instead of placing an item into a input slot you could use a button.
When clicking the button on the gui, additemtoinventory if there is an item in inventory. Then use stack event to make it remove item in inventory. Then at the end you are left with the item you purchased.
@#1 That's brilliant! Thank you! Now just the problem of making it open with a mob, any ideas?
When mob rightclicked-->open gui