GUI deleting blocks

Started by saismee on

Topic category: Help with MCreator software

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GUI deleting blocks

I have created a block and a GUI to go with it, although when I put a block in the GUI, it seems fine, but after I close it, the item vanishes into the void of nothingness, never to be seen again.

I had assumed it was my procedure, but it turns out its just the GUI. Here's a snippet of my code (block right click calls this procedure)

boop

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Forgot to mention: With the…
Mon, 01/13/2020 - 09:47

Forgot to mention:
With the code, it seems to work fine, but the output block is impossible to take, except if you shift click it.
I also meant to write "(slot 0 change calls this procedure)" instead of "(block right click calls this procedure)"

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright, after a bit more…
Mon, 01/13/2020 - 10:03

Alright, after a bit more googling and browsing, I have changed my code to this.

 

(http://prntscr.com/qmy5gc if image didnt work)

Now it errors in the console (compiles fine) saying

"Failed to load dependency x for procedure MCreatorInfuseAttempt" 🤔... the event does give the x, y and z dependencies though.

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, I solved it. I just…
Mon, 01/13/2020 - 10:13

Okay, I solved it. I just needed to make it on Update Tick! It still seems to be a bug though