Need help with making procedure on generator

Started by shadowxr on

Topic category: Help with MCreator software

Last seen on 15:11, 11. Oct 2019
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with making procedure on generator

I am making a generator that when you add fuel the procedure checks if there is fuel in it. If there is it changed the blocks redstone state to true but it won't let me at all can anyone help me find a work around?Link if it doesn't load: https://ibb.co/nMybGt2

 The procedure

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1. When is this procedure…
Mon, 09/23/2019 - 08:20

1. When is this procedure called?

2. Try putting "Send to chat to all players "message" below the turn redstone to true to see if the if statement returns true.

Last seen on 15:11, 11. Oct 2019
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure is called on…
Mon, 09/23/2019 - 18:33

The procedure is called on the ticks of the block

 

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Instead of using "Get items…
Tue, 09/24/2019 - 09:27

Instead of using "Get items from slot 0 of inventory inherited" use "get items from slot 0 of block at x y z if it has inventory". (Can be found under Block Procedures.)

 

"Get items from slot 0 if it has inventory inherited" is meant to be used when you create a procedure from within the GUI editor, when creating an input slot for example. If you use "get items from slot 0 of block at x y z if it has inventory" your procedure can be attached to your block + it will play the function.

After this, when adding the selected block to the inventory, your if statement will return true.