Instant Campsite Capsule

Toss a magic capsule that bursts open in a puff of smoke, rapidly unfolding blocks in steps to assemble a cozy, glowing tent and warm campfire.

Java EditionMini-games & UtilitiesMedium18 commandsTested on a real 26.2 & 26.3 server
A glowing capsule unfolds step-by-step into a striped campsite tent with a campfire at night. Download the GIF Video & GIF © www.9minecraft.net

Spawners & GeneratorsNatureOrangeYellowWhiteAdventure MapBuilding ToolDecorationItem displaysArmor standsSmooth animation (interpolation)Block building (fill/setblock/clone)Sounds13-20 commands

Setting up camp before nightfall takes just one throw with the Instant Campsite Capsule. In this command creation, an automated camper tosses a glowing capsule into the clearing. Moments after landing, it pops open in a cloud of smoke and rapidly unfolds stage-by-stage—laying down a rug, raising striped tent walls, placing a bed and crafting utilities, and sparking a lively campfire out front.

The build uses a single scoreboard clock to sequence multi-step construction with sound effects and smooth particles, packing down cleanly so the demonstration can loop continuously.

1. Setup - type these once 4 commands

  1. /scoreboard objectives add c9_t dummy
  2. /summon marker ~ ~ ~ {Tags:["c9_m"]}
  3. /scoreboard players set @e[tag=c9_m] c9_t 0
  4. /summon armor_stand ~ ~ ~6 {Tags:["c9_actor"],NoGravity:1b,ShowArms:1b,Rotation:[180f,0f],equipment:{mainhand:{id:"minecraft:heart_of_the_sea",count:1},head:{id:"minecraft:leather_helmet",count:1},chest:{id:"minecraft:leather_chestplate",count:1},legs:{id:"minecraft:leather_leggings",count:1},feet:{id:"minecraft:leather_boots",count:1}}}

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

  1. /scoreboard players add @e[tag=c9_m] c9_t 1
  2. /execute if entity @e[tag=c9_m,scores={c9_t=150..}] run scoreboard players set @e[tag=c9_m] c9_t 1
  3. /execute if entity @e[tag=c9_m,scores={c9_t=5}] run summon item_display ~ ~1.4 ~5.5 {Tags:["c9_cap"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:heart_of_the_sea",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.6f,0.6f,0.6f]}}
  4. /execute if entity @e[tag=c9_m,scores={c9_t=6}] as @e[tag=c9_cap] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{left_rotation:[0.7f,0.7f,0f,0f],right_rotation:[0f,0f,0f,1f],translation:[0f,-1.1f,-5.5f],scale:[0.7f,0.7f,0.7f]}}
  5. /execute if entity @e[tag=c9_m,scores={c9_t=6..19}] run particle dust{color:[0.2,0.9,1.0],scale:1.2} ~ ~1 ~2.5 0.2 0.3 1.5 0 4
  6. /execute if entity @e[tag=c9_m,scores={c9_t=20}] run kill @e[tag=c9_cap]
  7. /execute if entity @e[tag=c9_m,scores={c9_t=20..30}] run particle explosion ~ ~1 ~-1 1.5 1 1.5 0.05 6
  8. /execute if entity @e[tag=c9_m,scores={c9_t=20}] run playsound entity.generic.explode master @a ~ ~ ~ 0.6 1.5
  9. /execute if entity @e[tag=c9_m,scores={c9_t=22}] run fill ~-2 ~ ~-4 ~2 ~ ~ spruce_planks
  10. /execute if entity @e[tag=c9_m,scores={c9_t=25}] run fill ~-2 ~1 ~-4 ~2 ~2 ~ orange_wool hollow
  11. /execute if entity @e[tag=c9_m,scores={c9_t=28}] run fill ~-1 ~3 ~-4 ~1 ~3 ~ yellow_wool
  12. /execute if entity @e[tag=c9_m,scores={c9_t=31}] run fill ~-1 ~1 ~ ~1 ~2 ~ air
  13. /execute if entity @e[tag=c9_m,scores={c9_t=34}] run setblock ~ ~ ~3 campfire[lit=true]
  14. /execute if entity @e[tag=c9_m,scores={c9_t=140}] run fill ~-3 ~ ~-4 ~3 ~4 ~4 air

How it works

Frames from the test run

Instant Campsite Capsule - frame 1Instant Campsite Capsule - frame 2Instant Campsite Capsule - frame 3

Recorded on our own test server: 58 frames at about 9.7 fps. Our image check saw: A character throws a glowing end crystal capsule onto a grass platform, which pops in smoke and unfolds stage-by-stage into an orange and yellow striped tent with a campfire in front.

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. Stand at the centre of a flat open area where you want the campsite to appear.
  2. Run the 4 setup commands in chat one by one to create the timer, marker, and camper stand.
  3. Place 14 repeating command blocks in a line nearby (outside the 7x9 campsite footprint) and set them all to Always Active.
  4. Paste each of the 14 loop commands into its own repeating command block.
  5. Watch the camper toss the glowing capsule every 7.5 seconds as the tent unfolds and packs away automatically.

Use it with real players

To let real players throw a campsite capsule, replace the timer trigger with a snowball check: detect a thrown snowball tagged with a custom item name using /execute as @e[type=snowball] if data entity @s Item.components."minecraft:custom_name", summon the c9_m marker at the snowball's position right before it lands, and run ticks 20 to 34 relative to that marker without running the tick 140 reset command.

Remove it again 5 commands

  1. /fill ~-3 ~ ~-4 ~3 ~4 ~4 air
  2. /kill @e[tag=c9_m]
  3. /kill @e[tag=c9_actor]
  4. /kill @e[tag=c9_cap]
  5. /scoreboard objectives remove c9_t

FAQ

Will this overwrite builds around my base?

Yes, the tent and cleanup command fill a 7x5x9 box around the centre marker, so always trigger it in an open clearing.

How do I keep the tent permanently without it disappearing?

Remove the last loop command (command 14, which runs at tick 140) and break the first repeating command block once the campfire appears at tick 34.

Commands used

/data/execute/fill/kill/particle/playsound/scoreboard/setblock/summon

Similar creations

Join 9Minecraft News & Guides