Procedure Issue

Started by Mezmerize4 on

Topic category: Help with MCreator software

Joined Nov 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure Issue

Hello

Well here's the situation, i'm currently working on a "drill" block which is powered by redstone powder in its inventory.
I did the GUI and set it to the block, i can access to it and place the redstonepower. Now i want its start button to execute this procedure ( see picture )

The problem is : it only close the GUI but not moving an inch.

could i get request to improve the algorythm ?

 

Procedure Screenshot

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't have experience with…
Sun, 09/29/2019 - 08:50

I don't have experience with a similar situation, but I know that when you're using inventory, you should use inventory that's "inherited". Self named inventories are a bit buggy.

This means that you should use the inventory procedures inside the "Block Procedures" and not in the "GUI procedures" : "Get slot 0 from block at xyz if it has inventory". Inside the GUI, you can select the inherited inventory. You must also allow inventory on the block itself.