Indecisive Useless Box

A large dark oak and gold display-entity useless box where a tiny observer robot flips the glowing switch on and a piston arm stubbornly shuts it off.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A custom wooden useless box opens with colorful particles beside a tiny observer-headed robot on gold. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsTechnologyCuteGoldPinkCyanDecorationServer LobbyMap MakingBlock displaysArmor standsSmooth animation (interpolation)21+ commands

Meet the Indecisive Useless Box, a scaled-up display-entity contraption crafted from dark oak planks, a thick gold base, a bright sea lantern front panel, and a glowing redstone torch switch. Out front, a tiny observer-headed robot stands on a gold podium reaching toward the toggle.

Each cycle, the switch flips on and sets off shifting pink-to-cyan dust particles. The hinged oak lid either peeks open with hesitation before snapping wide or creeps open slowly, then a glowing piston-head arm shoots out to smack the torch off and slam the box shut again.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard objectives add c9_mode dummy
  3. /summon block_display ~ ~ ~ {Tags:["c9_box"],block_state:{Name:"minecraft:dark_oak_planks"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.5f,0.25f,-1.5f],scale:[3.0f,2.0f,3.0f]}}
  4. /summon block_display ~ ~ ~ {Tags:["c9_box"],block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.7f,0f,-1.7f],scale:[3.4f,0.35f,3.4f]}}
  5. /summon block_display ~ ~ ~ {Tags:["c9_box"],block_state:{Name:"minecraft:sea_lantern"},brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.55f,0.75f,1.42f],scale:[1.1f,0.75f,0.18f]}}
  6. /summon block_display ~ ~ ~ {Tags:["c9_box"],block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.25f,0f,1.5f],scale:[0.9f,1.25f,0.85f]}}
  7. /summon block_display ~ ~2.25 ~-1.5 {Tags:["c9_lid"],block_state:{Name:"minecraft:oak_planks"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.52f,0f,0f],scale:[3.04f,0.32f,2.05f]}}
  8. /summon block_display ~ ~2.25 ~1.18 {Tags:["c9_lever"],Glowing:1b,brightness:{sky:15,block:15},block_state:{Name:"minecraft:redstone_torch",Properties:{lit:"false"}},transformation:{left_rotation:[-0.259f,0f,0f,0.966f],right_rotation:[0f,0f,0f,1f],translation:[-1.1f,0f,-1.1f],scale:[2.2f,1.8f,2.2f]}}
  9. /summon block_display ~ ~1.55 ~-0.25 {Tags:["c9_arm"],Glowing:1b,brightness:{sky:15,block:15},block_state:{Name:"minecraft:piston_head",Properties:{facing:"up",short:"false",type:"normal"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.55f,-1.35f,-0.55f],scale:[1.1f,1.8f,1.1f]}}
  10. /summon armor_stand ~-0.75 ~1.25 ~1.78 {Tags:["c9_actor"],NoGravity:1b,NoBasePlate:1b,ShowArms:1b,Small:1b,Rotation:[-145f,0f],Pose:{RightArm:[-100f,-20f,0f],LeftArm:[-35f,10f,0f]},equipment:{head:{id:"minecraft:observer"},chest:{id:"minecraft:golden_chestplate"},legs:{id:"minecraft:iron_leggings"},feet:{id:"minecraft:golden_boots"}}}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add #c9 c9_t 1
  2. /execute if score #c9 c9_t matches 57.. run scoreboard players add #c9 c9_mode 1
  3. /execute if score #c9 c9_t matches 57.. run scoreboard players set #c9 c9_t 1
  4. /execute if score #c9 c9_mode matches 2.. run scoreboard players set #c9 c9_mode 0
  5. /execute if score #c9 c9_t matches 6 run data merge entity @e[tag=c9_lever,limit=1] {start_interpolation:0,interpolation_duration:3,block_state:{Name:"minecraft:redstone_torch",Properties:{lit:"true"}},transformation:{left_rotation:[0.259f,0f,0f,0.966f],right_rotation:[0f,0f,0f,1f],translation:[-1.1f,0f,-1.1f],scale:[2.2f,1.8f,2.2f]}}
  6. /execute if score #c9 c9_mode matches 0 if score #c9 c9_t matches 14 run data merge entity @e[tag=c9_lid,limit=1] {start_interpolation:0,interpolation_duration:4,transformation:{left_rotation:[-0.191f,0f,0f,0.982f],right_rotation:[0f,0f,0f,1f],translation:[-1.52f,0f,0f],scale:[3.04f,0.32f,2.05f]}}
  7. /execute if score #c9 c9_mode matches 1 if score #c9 c9_t matches 14 run data merge entity @e[tag=c9_lid,limit=1] {start_interpolation:0,interpolation_duration:16,transformation:{left_rotation:[-0.609f,0f,0f,0.793f],right_rotation:[0f,0f,0f,1f],translation:[-1.52f,0f,0f],scale:[3.04f,0.32f,2.05f]}}
  8. /execute if score #c9 c9_mode matches 0 if score #c9 c9_t matches 26 run data merge entity @e[tag=c9_lid,limit=1] {start_interpolation:0,interpolation_duration:3,transformation:{left_rotation:[-0.609f,0f,0f,0.793f],right_rotation:[0f,0f,0f,1f],translation:[-1.52f,0f,0f],scale:[3.04f,0.32f,2.05f]}}
  9. /execute if score #c9 c9_t matches 30 run data merge entity @e[tag=c9_arm,limit=1] {start_interpolation:0,interpolation_duration:4,transformation:{left_rotation:[0.446f,0f,0f,0.895f],right_rotation:[0f,0f,0f,1f],translation:[-0.55f,0.55f,-0.4f],scale:[1.1f,2.2f,1.1f]}}
  10. /execute if score #c9 c9_t matches 38 run data merge entity @e[tag=c9_lever,limit=1] {start_interpolation:0,interpolation_duration:3,block_state:{Name:"minecraft:redstone_torch",Properties:{lit:"false"}},transformation:{left_rotation:[-0.259f,0f,0f,0.966f],right_rotation:[0f,0f,0f,1f],translation:[-1.1f,0f,-1.1f],scale:[2.2f,1.8f,2.2f]}}
  11. /execute if score #c9 c9_t matches 42 run data merge entity @e[tag=c9_arm,limit=1] {start_interpolation:0,interpolation_duration:4,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.55f,-1.35f,-0.55f],scale:[1.1f,1.8f,1.1f]}}
  12. /execute if score #c9 c9_t matches 46 run data merge entity @e[tag=c9_lid,limit=1] {start_interpolation:0,interpolation_duration:3,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.52f,0f,0f],scale:[3.04f,0.32f,2.05f]}}
  13. /execute if score #c9 c9_t matches 6..40 run particle minecraft:dust_color_transition{from_color:[1.0,0.15,0.45],to_color:[0.1,0.95,1.0],scale:1.8} ~ ~2.8 ~0.4 0.9 0.5 0.9 0.05 8
  14. /execute if score #c9 c9_t matches 37..39 run particle minecraft:end_rod ~ ~2.9 ~1.18 0.35 0.35 0.35 0.08 10

How it works

Frames from the test run

Indecisive Useless Box - frame 1Indecisive Useless Box - frame 2Indecisive Useless Box - frame 3

Recorded on our own test server: 58 frames at about 8.3 fps. Our image check saw: A custom dark oak box on a gold base opens its oak lid while emitting pink and cyan particles next to a small observer-headed figure on a gold block.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Clear a flat area at least 7x7 blocks wide and stand at the center block where you want the box.
  2. Run each of the 10 setup commands in order from chat or impulse command blocks.
  3. Place a line of 14 repeating command blocks set to Always Active and Needs Redstone off, or chain them from one repeating block.
  4. Paste each of the 14 loop commands into the repeating command blocks using the exact center coordinates if they are far from the box.
  5. Watch the observer robot and box cycle automatically between a hesitant lid twitch and a slow dramatic reveal.

Use it with real players

To trigger the box yourself instead of running on a continuous timer, remove the automatic tick-6 flip and start the sequence only when a player stands near the front of the box using /execute if score #c9 c9_t matches 0 if entity @p[distance=..3.5] run scoreboard players set #c9 c9_t 1, resetting #c9 c9_t back to 0 at the end of tick 56.

Remove it again 7 commands

  1. /kill @e[tag=c9_box]
  2. /kill @e[tag=c9_lid]
  3. /kill @e[tag=c9_lever]
  4. /kill @e[tag=c9_arm]
  5. /kill @e[tag=c9_actor]
  6. /scoreboard objectives remove c9_t
  7. /scoreboard objectives remove c9_mode

FAQ

Why does the box open differently every other time?

The <code>c9_mode</code> scoreboard alternates between 0 and 1 after each 56-tick cycle, switching between a quick hesitant peek and a slow 16-tick opening.

Can I walk through the dark oak box?

Yes, <code>block_display</code> entities are purely visual and have no collision, which keeps the setup lag-free and easy to remove cleanly.

Commands used

/data/execute/particle/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides