need help with the GUI

Started by MarkusDK on

Topic category: Advanced modding

Active 3 years ago
Joined Aug 2017
Points:
792

User statistics:

  • Modifications: 3
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
need help with the GUI

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

Active 4 months ago
Joined Feb 2015
Points:
728

User statistics:

  • Modifications: 1
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Not sure what version you…
Mon, 01/22/2018 - 03:29

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.

Active 7 years ago
Joined Mar 2017
Points:
716

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
When comes to gui making,…
Tue, 01/23/2018 - 00:13

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.

Active 3 years ago
Joined Aug 2017
Points:
792

User statistics:

  • Modifications: 3
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
I want help to make my own…
Mon, 01/29/2018 - 17:41

I want help to make my own crafting table GUI!