Help: How to make block procedure activate at certain height.

Started by Squishybrick on

Topic category: Help with MCreator software

Last seen on 00:41, 9. Jan 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help: How to make block procedure activate at certain height.

I have a block that basically acts like a very cheap representation of a drilling rig of sorts, which has a gui you can access to activate it and make it "drill".

The procedure is activated from pressing the button in the gui to turn the drill on. 

But I want it to only be able to activate at a certain height, so players can't just plop it down anywhere they want and drill.

Is there a procedure for blocks that do this?

Something like 

If [ [Get block z] = [30] ]
do > (Rest of Procedure) 

... I see a bunch of variables with blocks, but it's all [Is [block] [z] [x] [y] waterlogged]], or [is [block] [z] [x] [y] farmable]]. 

But there's no [is [block] at [x] [y] [z]]

Am I missing something?

Last seen on 00:41, 9. Jan 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dunno if it's in bad…
Sun, 01/15/2023 - 21:09

Dunno if it's in bad etiquette to bump, but I would really like some help on this.

Last seen on 18:38, 21. Jan 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bump
Fri, 07/07/2023 - 15:12

bump