[Solved] Block not detecting 2 blocks under the base block.

Started by NotUltron on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Solved] Block not detecting 2 blocks under the base block.
Tue, 12/26/2023 - 16:34 (edited)

I am trying to make it so it detects a specific block 2 blocks under the current block. I have been having trouble with that. I have a command that activate this procedure. Don't ask what its for but I really need help. I have tried my research but nothing seems to work.

Edited by NotUltron on Tue, 12/26/2023 - 16:34
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is an image
Mon, 12/25/2023 - 18:51

This is an image

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have realized it was not…
Tue, 12/26/2023 - 12:32

I have realized it was not doing it from the block position. It was doing it from the player position.

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have found a solution. I…
Tue, 12/26/2023 - 16:46

I have found a solution. I was trying to make an animated door that can be activated with a Redstone button but I was having trouble for it to work so I tried to make it so if there is a white concrete block two blocks under it then the door will animate and change to the open door. Then same the other way but with a different block. The button will also change the concrete so the door actually works.

FiX:
Since this mod was for roleplay my solution I found is that I create a command that starts a animation and then with command blocks replace it with opened door and also play the door sound.

Command: /playdoor

Command

Function Procedure:
Procedure

All the command does is animate the door and the rest is command blocks