create event to add a block on top of the other

Started by meuplo007 on

Topic category: Help with MCreator software

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
create event to add a block on top of the other

 

how to create an event that adds a block on top of the other that opens the same guide as the lower block (and a chest that is two high, for example, as a hitbox does not cover two blocks) create an event in which a block top is added from the other that opens the same tab.)

 

 

sorry if you have any similar topic, researched and didn’t find it, thanks.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should create two…
Tue, 07/28/2020 - 16:50

You should create two separate blocks, and once the bottom block is placed, use a procedure to place the other one on top of it. Then bind both blocks to the same GUI.

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
as described above, that I…
Thu, 07/30/2020 - 16:55
as described above, that I don't know how to do
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make two separate blocks,…
Fri, 08/14/2020 - 11:28

Make two separate blocks, both bound to the same GUI. One of the blocks should not be available in the inventory. Both blocks should drop the base block when you dig them.
When you place your base block, make it check for an air block above it, then place the top half there (if there is an air block, remove the block and put it back in the inventory).
If you destroy the bottom block, make it check if there's a top half on top of it and destroy that too.
For the top half when it's destroyed, check for the bottom block and destroy that too.