Moving Blocks after Placement

Started by herrcookie on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Moving Blocks after Placement

Yo guys, So I wanted to make a Storage Shelf Mod but since i made it in Blockbench i had to move it under the grid which means when i place it in Minecraft, it gets placed in the Block under that I placed it on. So I wanted to ask if there is any way for me to make it so that when i place it it gets moved 1 block higher.

:D

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could do, GLOBAL TRIGGER…
Wed, 02/19/2025 - 11:13

you could do,

GLOBAL TRIGGER: Player places a block

if block is the same as <shelf_name>

remove block at x y z

place <shelf_name> at x y z

(Find block placement and removing in Block procedures > Actions and if block in Flow Control)