[SOLVED] How do I detect if a block is at certain coordinates?

Started by Andygun11 on

Topic category: Help with MCreator software

Active 1 month ago
Joined Feb 2022
Points:
569

User statistics:

  • Modifications: 3
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 45
[SOLVED] How do I detect if a block is at certain coordinates?
Mon, 07/11/2022 - 14:41 (edited)

So I'm trying to make something with keys, and can't figure out how to do a "if block at [x] [y] [z] is = [block]".

I have my procedure set to trigger when the player right clicks on a block on the item (key).

Edited by Andygun11 on Mon, 07/11/2022 - 14:41
Active 1 year ago
Joined Jun 2022
Points:
420

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
Step #1:   Step #2: Step …
Mon, 07/11/2022 - 11:04

Step #1:

1

 

Step #2:

2

Step #3:

3

Step #4:

4

That's how it should look in the end:

Final

 

To change the block, simply double click on the empty box at the end.

Active 1 month ago
Joined Feb 2022
Points:
569

User statistics:

  • Modifications: 3
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 45
Thank you! :)
Mon, 07/11/2022 - 14:41

Thank you! :)

Active 2 months ago
Joined Oct 2022
Points:
335

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
Does this procedure work…
Tue, 07/18/2023 - 21:41

Does this procedure work with lava?

Active 1 year ago
Joined Apr 2024
Points:
93

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
cant see posted images
Tue, 04/02/2024 - 15:47

cant see posted images

Active 1 year ago
Joined Aug 2024
Points:
72

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
cant see images
Mon, 08/12/2024 - 01:49

cant see images