Procedure for block that copy blocks from back side of block and place it in front of it

Started by KnightKing777 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure for block that copy blocks from back side of block and place it in front of it

Hi,

i have a problem, i want to make procedure for bor block that copy blocks from back side of block and place it in front of it, but i don't know how.

Any ideas?

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wait, change z to z + 1  
Tue, 02/18/2025 - 17:24

wait, change z to z + 1

 

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
new image
Tue, 02/18/2025 - 18:16

new image

answer

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is not a complete…
Tue, 02/25/2025 - 01:06

This is not a complete solution to the problems, if the block has many placement options (orientation), it will not work as it should. However, thank you very much, you gave me an idea of ​​what I can do to make it work :)

 

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To do this properly you need…
Tue, 02/25/2025 - 02:06

To do this properly you need to take the blocks direction and use a bit of an "if" chain to get the block from the current behind and get it in front

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made it, it works great,…
Tue, 02/25/2025 - 11:26

I made it, it works great, with few bugs that i tries to solve :(