Shadow Puppet Lantern Projection

Build an automated magic lantern theater that projects giant animated dragon silhouettes onto a glowing quartz screen using local coordinates.

Java EditionMagic & SpellsExpert24 commandsTested on a real 26.2 & 26.3 server
Glowing dragon heads orbit a floating soul lantern, casting purple and fiery particle projections onto white walls. Download the GIF Video & GIF © www.9minecraft.net

Dark & Shadow MagicDarkMysticPurpleOrangeWhiteDecorationCinematicMap MakingBlock displaysItem displaysBlock building (fill/setblock/clone)Rotation math21+ commands

This command creation builds an open-air shadow puppet theater right on your stage. At the center, an oversized glowing soul lantern floats above a carved pedestal while two miniature dragon figurines circle around it in a ring of golden light.

Using local vector coordinates (^ ^ ^), the orbiting dragons cast beams of light outward and project giant, flapping purple shadow puppets—complete with fiery breath—all the way across the wraparound quartz screen behind them.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-10 ~ ~-10 ~10 ~9 ~-3 smooth_quartz
  3. /fill ~-9 ~ ~-9 ~9 ~9 ~-2 air
  4. /fill ~-10 ~9 ~-10 ~10 ~9 ~-3 sea_lantern
  5. /fill ~-9 ~9 ~-9 ~9 ~9 ~-2 air
  6. /fill ~-1 ~ ~-1 ~1 ~ ~1 polished_blackstone_bricks
  7. /setblock ~ ~1 ~ chiseled_polished_blackstone
  8. /summon block_display ~ ~3.2 ~ {Tags:["c9_ent","c9_lantern"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:soul_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.6f],translation:[-0.8f,-0.8f,-0.8f]}}
  9. /summon item_display ~ ~3.5 ~ {Tags:["c9_ent","c9_caster","c9_d1"],Rotation:[110f,0f],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},item:{id:"minecraft:dragon_head"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[0f,0f,2.2f]}}
  10. /summon item_display ~ ~3.5 ~ {Tags:["c9_ent","c9_caster","c9_d2"],Rotation:[290f,0f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},item:{id:"minecraft:dragon_head"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[0f,0f,2.2f]}}

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

  1. /scoreboard players add #tick c9_timer 1
  2. /scoreboard players set #flapping c9_timer 0
  3. /execute if score #tick c9_timer matches 10..19 run scoreboard players set #flapping c9_timer 1
  4. /execute if score #tick c9_timer matches 20.. run scoreboard players set #tick c9_timer 0
  5. /execute as @e[tag=c9_lantern] at @s run tp @s ~ ~ ~ ~4 ~
  6. /particle soul_fire_flame ~ ~3.5 ~ 0.4 0.4 0.4 0.02 4 force
  7. /particle end_rod ~ ~3.5 ~ 1.8 0.8 1.8 0.02 3 force
  8. /execute as @e[tag=c9_caster] at @s run tp @s ~ ~ ~ ~3.5 ~
  9. /execute at @e[tag=c9_caster] run particle dust{color:[1.0,0.85,0.2],scale:0.9} ^ ^ ^2.2 0.05 0.05 0.05 0 2 force
  10. /execute at @e[tag=c9_caster] run particle dust_color_transition{from_color:[0.3,0.9,1.0],to_color:[1.0,0.8,0.2],scale:0.6} ^ ^0.2 ^5.5 0.1 0.1 1.5 0 4 force
  11. /execute at @e[tag=c9_caster] positioned ^ ^ ^8.8 run particle dust{color:[0.18,0.08,0.32],scale:2.4} ~ ~0.5 ~ 0.35 1.2 0.35 0 24 force
  12. /execute at @e[tag=c9_caster] positioned ^ ^ ^8.8 if score #flapping c9_timer matches 0 run particle dust{color:[0.28,0.12,0.48],scale:2.6} ~ ~2.1 ~ 1.0 0.4 0.4 0 28 force
  13. /execute at @e[tag=c9_caster] positioned ^ ^ ^8.8 if score #flapping c9_timer matches 1 run particle dust{color:[0.28,0.12,0.48],scale:2.6} ~ ~-0.6 ~ 1.0 0.4 0.4 0 28 force
  14. /execute at @e[tag=c9_d1] positioned ^-1.8 ^1.2 ^8.8 run particle dust_color_transition{from_color:[1.0,0.4,0.0],to_color:[0.9,0.1,0.4],scale:2.0} ~ ~ ~ 0.6 0.3 0.6 0 20 force

How it works

Frames from the test run

Shadow Puppet Lantern Projection - frame 1Shadow Puppet Lantern Projection - frame 2Shadow Puppet Lantern Projection - frame 3

Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: A glowing soul lantern floats above a blackstone pedestal while two glowing dragon heads orbit it, projecting large clouds of purple and orange particles onto surrounding white walls.

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 center of a flat open area facing South or North so you have at least 12 blocks of space around you.
  2. Run each of the 10 Setup commands once in chat or inside impulse command blocks positioned at the center of your stage.
  3. Verify that the white quartz screen, blackstone pedestal, glowing central lantern, and two orbiting dragon heads appear.
  4. Place 14 Repeating Command Blocks (or 1 Repeating followed by 13 Chain Command Blocks), all set to Always Active.
  5. Paste one Loop command into each block. Ensure the commands execute relative to the exact center coordinate where you ran the setup.
  6. Set the time to night (<code>/time set midnight</code>) to see the sea lantern rim lighting and glowing shadow particles clearly.

Use it with real players

To let a player control the shadow projection with their own gaze instead of automatic orbiting figurines, replace @e[tag=c9_caster] in Loop commands 9 through 13 with @p[tag=shadow_mage]. Tag yourself with /tag @s add shadow_mage and stand near the lantern pedestal: wherever you look at the quartz wall, the giant flapping dragon shadow will follow your crosshair.

Remove it again 3 commands

  1. /kill @e[tag=c9_ent]
  2. /fill ~-10 ~ ~-10 ~10 ~9 ~1 air
  3. /scoreboard objectives remove c9_timer

FAQ

How do the dragon heads orbit the lantern without being teleported in a circle?

The item_display entities actually stay right at the center of the lantern. Their transformation NBT has a translation of [0f,0f,2.2f], which pushes the visual dragon head 2.2 blocks away from the entity's center, so a simple yaw rotation spins it in an orbit.

How can I change the color or size of the projected shadows?

In Loop commands 11, 12, and 13, edit the RGB values inside dust{color:[R,G,B],scale:S}. Lower RGB numbers (closer to 0.0) make darker shadows, while higher numbers (up to 1.0) create bright neon projections.

Commands used

/execute/fill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides