43
First, build a small 6x6 platform of dark oak planks or whatever block you want.
Next, place 2 beds in the middle of the platform.
Next, build a 2 block hole on the bottom of the beds.
If any of this isn't clear, check out this video: youtu.be/h_c1r6cRSsw?si=p7HC22jAeMesIBNk&t=58
Next place a button next to the beds.
Then place a button on the beds. (Each can be stone or whatever button you want)
Next, type in chat /give @s command_block
Next, place dark prismarine 3 blocks below the bed.
Then, place a repeating command block saying: /execute at @a if block ~ ~-3 ~ dark_prismarine run tag @s add hiding (Always Active)
Place another saying /execute at @a unless block ~ ~-3 ~ dark_prismarine run tag @s remove hiding
Place a repeating command block place upwards always active, and another on top facing up (chain conditional always active)
Repeat 1 more time.
Place in the first repeating command block: /execute if block (coordinates of button next to bed) stone_button run tp @a[sort=nearest,limit=1] (coordinates under the bed)
On the chain command block above the repeating command block type: /setblock (coordinates of button next to bed) stone_button[powered=false]
The next set is the same but you detect if the button under the bed is powered it will say: /tp @a ~ ~3 ~
and then the next chain command block will replace the button under the bed to be an unpowered button.
*You may need to type stone_button[facing=east] or [face=upper] or anything like that if the button is not placed correctly.
You are finished!
Put button you chose here
Next, place 2 beds in the middle of the platform.
Next, build a 2 block hole on the bottom of the beds.
If any of this isn't clear, check out this video: youtu.be/h_c1r6cRSsw?si=p7HC22jAeMesIBNk&t=58
Next place a button next to the beds.
Then place a button on the beds. (Each can be stone or whatever button you want)
Next, type in chat /give @s command_block
Next, place dark prismarine 3 blocks below the bed.
Then, place a repeating command block saying: /execute at @a if block ~ ~-3 ~ dark_prismarine run tag @s add hiding (Always Active)
Place another saying /execute at @a unless block ~ ~-3 ~ dark_prismarine run tag @s remove hiding
Place a repeating command block place upwards always active, and another on top facing up (chain conditional always active)
Repeat 1 more time.
Place in the first repeating command block: /execute if block (coordinates of button next to bed) stone_button run tp @a[sort=nearest,limit=1] (coordinates under the bed)
On the chain command block above the repeating command block type: /setblock (coordinates of button next to bed) stone_button[powered=false]
The next set is the same but you detect if the button under the bed is powered it will say: /tp @a ~ ~3 ~
and then the next chain command block will replace the button under the bed to be an unpowered button.
*You may need to type stone_button[facing=east] or [face=upper] or anything like that if the button is not placed correctly.
You are finished!
Put button you chose here
Tags |
tools/tracking
6019413
6
bed-hiding-from-doors-tutorial-in-minecraft-java
Create an account or sign in to comment.
Because the demonstrated way of moving in and out of the pit relies on command blocks, it will not be useful in survival MC.
In a map, however, command blocks would be available to the map maker which would allow the trick to be used by persons playing the map.