This procedure looks right but does not work. Anyone know why?

Started by Awesomex_Revived on Wed, 08/14/2019 - 00:59

Topic category: Help with MCreator modding

Last seen on 21:32, 19. Oct 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
This procedure looks right but does not work. Anyone know why?
Wed, 08/14/2019 - 07:57 (edited)

I made a compression unit that takes 1 iron from the input slot and turns it into 1 steel plate in the output slot.

The procedure sets the local variable, 'number_of_iron' to the number of iron in slot 00 (input slot), then sets [number_of_iron] steel plates in slot 01 (output slot), then clears slot 00, plays a sound and awards xp. Here's a screenshot of the procedure:

 

Procedure (https://imgur.com/a/WDJfvt5)

 

However, when I input iron, it plays the sound, awards exp, but does not clear slot 0 or place any steel into the output slot. Anyone got any advice, or even better, a fix?

 

Sorry, i'm not that good with the block interface thing >.<

 

-Awesomex

 

 

 

 

Edited by Awesomex_Revived on Wed, 08/14/2019 - 07:57
Last seen on 21:32, 19. Oct 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You should probably make the…
Wed, 08/14/2019 - 04:37

You should probably make the tutorial as it would help me, but not only me, it would also save many people from youtubers screaming about things.

 

Note: Where is the bind procedure to tick update button?

Last seen on 06:12, 20. Oct 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I'll show you later as I'm…
Wed, 08/14/2019 - 04:45

I'll show you later as I'm on mobile

Last seen on 06:12, 20. Oct 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Hi Go to the second last…
Thu, 08/15/2019 - 09:40

Hi

Go to the second last page of your block, and there is a bunch of triggers

put the one that opens your GUI to "When Block Right Clicked"

and the one that crafts steel to "Tick Update"