SLOT GUI Problems

Started by Mestre_Ra on

Topic category: Help with modding (Java Edition)

Last seen on 22:39, 12. Sep 2019
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
SLOT GUI Problems

I have two problems on a machine I created using slots and button.
It works as follows are 4 slots, the 3 put iron, charcoal and magma block and when I click the button it puts in the other slot steel. But it presents these two errors:

1) When I take the steel to put it in the inventory, it disappears and used items come back.

2) When I have more than one iron, charcoal and magma block, instead of giving me more than 1 steel it only enters me 1. E .: 10 iron, 10 charcoal and 10 block of magma so I should I get 10 steel by clicking 10 times the button, but when I click 10 times I only spend the items and it gives me 1 steel.

I'm using google translator
 

Last seen on 22:39, 12. Sep 2019
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do I do that?  "This…
Sat, 05/05/2018 - 18:10

how do I do that?

 "This issue can be avoided by using inherited inventory of block and using block events for slot management instead of GUI events for slot management. This way, the data is stored and synchronized."

Can you explain me?
 

You use block events instead…
Sat, 05/05/2018 - 18:26

You use block events instead of GUI events in procedure maker. Block events support slot management too. Your GUI has to be tied to a block though.

Last seen on 22:39, 12. Sep 2019
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm sorry, I'm a beginner,…
Sat, 05/05/2018 - 20:04

I'm sorry, I'm a beginner, you could explain in more detail, which events I should use.

Last seen on 22:39, 12. Sep 2019
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can someone help me please  
Sun, 05/06/2018 - 18:40

Can someone help me please
 

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use procedure blocks from…
Thu, 05/24/2018 - 10:32

Use procedure blocks from the block actions tab instead of the gui management

There are very similar blocks