How to make something like "Is block at xyz (block name)" in procedure system?

Started by FireWorks_CreepeR on

Topic category: Help with MCreator software

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make something like "Is block at xyz (block name)" in procedure system?

I am making growing plants at the moment, so I need to make the block "test" for if the block at xyz coordinates is the block it need to be! I don't know how to make it, can you help me, please?

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First under the Logic and…
Wed, 08/22/2018 - 21:42

First under the Logic and Loops tab grab a "If___, Do___" box. Everything I'm going to have you grab is going to be in the If slot. Whatever you want it do whenever the block is there put in the Do slot. Next, you will need to grab a "____ == ____" box from the Logic Operations tab, and it will need to have a block symbol on it. Third, you will need it grab a "Get Block at X: Y: Z:" box from the block actions tab, it will go in the first blank from the green "____ == ____" box. Finally, you will need to put a box that contains only a grey square and the block symbol on it. It can be found in the Minecraft Components tab. To select what block you want to be at the coordinates simply click on the grey square. 

 

It should look a little like this: https://www.pylo.co/static/mcreator/procedures/checkBlockBelow.gif

Hope this helps!

 

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah! Thanks! It was really…
Thu, 08/23/2018 - 11:05

Ah! Thanks! It was really helpful :D

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And I also need "if block at…
Thu, 08/23/2018 - 11:22

And I also need "if block at xyz isn't (block name)"! Can you help me with this too?

Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Put the "not" block in…
Thu, 08/23/2018 - 19:12

Put the "not" block in between the "if" and the "block == block"