Started by
meuplo007
on
Topic category: Help with MCreator software
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.
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.
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.