Started by
shadowxr
on
Topic category: Help with MCreator software
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
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.
The procedure is called on the ticks of the block
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.