Started by
MarkusDK
on
Topic category: Advanced modding
when ever i use the stack event and add consume event and give event. even if you dont have the consume item you will still get the give item. is there any thing to fix it
That i want
if you have the consume item, give the add item
if you dont have consume item, not give
Not sure what version you are using but in 1.7.3 for button press event result you can select "Add item to inventory" with the condition that "HasPlayerInInventory" is set to whatever item you require, click add event. Then instead of clicking stack event you can click add event result again and set it to consume item from inventory. This way the code checks for item--->gives item---> then consumes the item.
When comes to gui making, Mcreator permorms terribly, i´ll prefer to custom-code ones before using ones made with Mcreator
Its easier when you use chest-based custom coded guis.
IF you need help about custom-coded mods, wont doubt to call me.
I want help to make my own crafting table GUI!