Summon glowing, translucent ghost figures crafted from vanilla display entities that gently bob, sway, and drift around an eerie central altar.
Creatures & ModelsHorrorDarkMysticCyanWhiteBlackDecorationAdventure MapMap MakingBlock displaysArmor standsSmooth animation (interpolation)Riding & passengersSummoned mobsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands
The Swaying Spectral Lantern Spirits command creation uses vanilla block display entities to construct glowing, translucent ghost figures that float and drift in the night air. Each spirit is assembled from layered stained glass, a glowing sea lantern core, and a soul lantern carried underneath, all mounted onto invisible orbit pivots that rotate smoothly around a dark soul fire altar.
Using display entity transformation matrices and built-in interpolation, the spirits stretch and tilt forward and back like cloth blowing in a chilly wind while trails of soul fire flames and warped spores drift down beneath them.
/scoreboard objectives add c9_timer dummy/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:polished_blackstone_bricks/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:chiseled_polished_blackstone/setblock ~ ~-1 ~ minecraft:soul_sand/setblock ~ ~ ~ minecraft:soul_fire/summon minecraft:armor_stand ~ ~1.8 ~ {Tags:["c9_ ghost_all","c9_pivot1"],NoGravity:1b,Invisible:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_spirit","c9_g1"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,1.3f,0.7f],translation:[2.65f,-0.5f,-0.35f]}},{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_head","c9_g1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[2.775f,0.45f,-0.225f]}},{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_lantern","c9_g1"],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:[0.5f,0.5f,0.5f],translation:[2.75f,-1.1f,-0.25f]}}]}/summon minecraft:armor_stand ~ ~2.4 ~ {Tags:["c9_ghost_all","c9_pivot2"],NoGravity:1b,Invisible:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_spirit","c9_g2"],Glowing:1b,glow_color_override:11184895,brightness:{sky:15,block:15},block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,1.3f,0.7f],translation:[-3.35f,-0.5f,-0.35f]}},{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_head","c9_g2"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[-3.225f,0.45f,-0.225f]}},{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_lantern","c9_g2"],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:[0.5f,0.5f,0.5f],translation:[-3.25f,-1.1f,-0.25f]}}]}/summon minecraft:armor_stand ~ ~1.5 ~ {Tags:["c9_ghost_all","c9_pivot3"],NoGravity:1b,Invisible:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_spirit","c9_g3"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:white_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,1.3f,0.7f],translation:[-0.35f,-0.5f,2.65f]}},{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_head","c9_g3"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:shroomlight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[-0.225f,0.45f,2.775f]}},{id:"minecraft:block_display",Tags:["c9_ghost_all","c9_lantern","c9_g3"],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:[0.5f,0.5f,0.5f],translation:[-0.25f,-1.1f,2.75f]}}]}/summon minecraft:block_display ~-0.4 ~1.2 ~-0.4 {Tags:["c9_ghost_all","c9_center_orb"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:conduit"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[0f,0f,0f]}}/scoreboard players add #c9_tick c9_timer 1/execute if score #c9_tick c9_timer matches 80.. run scoreboard players set #c9_tick c9_timer 0/execute as @e[tag=c9_pivot1] at @s run tp @s ~ ~ ~ ~2.5 ~/execute as @e[tag=c9_pivot2] at @s run tp @s ~ ~ ~ ~-1.8 ~/execute as @e[tag=c9_pivot3] at @s run tp @s ~ ~ ~ ~3.2 ~/execute if score #c9_tick c9_timer matches 1 as @e[tag=c9_spirit,tag=c9_g1] run data merge entity @s {start_interpolation:0,interpolation_duration:38,transformation:{left_rotation:[0.12f,0f,0.08f,0.99f],right_rotation:[0f,0f,0f,1f],scale:[0.65f,1.45f,0.65f],translation:[2.65f,-0.1f,-0.35f]}}/execute if score #c9_tick c9_timer matches 41 as @e[tag=c9_spirit,tag=c9_g1] run data merge entity @s {start_interpolation:0,interpolation_duration:38,transformation:{left_rotation:[-0.12f,0f,-0.08f,0.99f],right_rotation:[0f,0f,0f,1f],scale:[0.75f,1.15f,0.75f],translation:[2.65f,-0.6f,-0.35f]}}/execute if score #c9_tick c9_timer matches 10 as @e[tag=c9_spirit,tag=c9_g2] run data merge entity @s {start_interpolation:0,interpolation_duration:38,transformation:{left_rotation:[-0.1f,0f,0.12f,0.99f],right_rotation:[0f,0f,0f,1f],scale:[0.65f,1.45f,0.65f],translation:[-3.35f,-0.1f,-0.35f]}}/execute if score #c9_tick c9_timer matches 50 as @e[tag=c9_spirit,tag=c9_g2] run data merge entity @s {start_interpolation:0,interpolation_duration:38,transformation:{left_rotation:[0.1f,0f,-0.12f,0.99f],right_rotation:[0f,0f,0f,1f],scale:[0.75f,1.15f,0.75f],translation:[-3.35f,-0.6f,-0.35f]}}/execute if score #c9_tick c9_timer matches 20 as @e[tag=c9_spirit,tag=c9_g3] run data merge entity @s {start_interpolation:0,interpolation_duration:38,transformation:{left_rotation:[0.14f,0f,-0.06f,0.99f],right_rotation:[0f,0f,0f,1f],scale:[0.65f,1.45f,0.65f],translation:[-0.35f,-0.1f,2.65f]}}/execute if score #c9_tick c9_timer matches 60 as @e[tag=c9_spirit,tag=c9_g3] run data merge entity @s {start_interpolation:0,interpolation_duration:38,transformation:{left_rotation:[-0.14f,0f,0.06f,0.99f],right_rotation:[0f,0f,0f,1f],scale:[0.75f,1.15f,0.75f],translation:[-0.35f,-0.6f,2.65f]}}/execute at @e[tag=c9_pivot1] rotated ~ 0 run particle minecraft:soul_fire_flame ^ ^ ^3 0.2 0.4 0.2 0.01 2/execute at @e[tag=c9_pivot2] rotated ~ 0 run particle minecraft:dust{color:[0.2,0.9,1.0],scale:1.2} ^ ^ ^-3 0.25 0.4 0.25 0.01 2/execute at @e[tag=c9_pivot3] rotated ~ 0 run particle minecraft:warped_spore ^ ^ ^3 0.3 0.5 0.3 0.02 3setup #6 Summons an invisible marker <code>armor_stand</code> at the center of the altar with three <code>block_display</code> passengers offset by around 3 blocks. Because display entities inherit yaw rotation from their vehicle when using transformation offsets, rotating the central armor stand causes the spirit to smoothly orbit the altar.loop #3 Rotates the first central pivot armor stand by 2.5 degrees every tick. The other two pivots rotate at different speeds and directions so the three spirits weave past each other.loop #6 Every 80 ticks (4 seconds), <code>/data merge</code> updates the spirit body's <code>transformation</code> with a 38-tick <code>interpolation_duration</code>, tilting its quaternion rotation and stretching it upward before command 6 compresses and tilts it back down 40 ticks later.loop #12 Projects soul fire flame particles out to <code>^ ^ ^3</code> in local coordinates from the rotating pivot, matching the orbital position of the first lantern spirit.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: Glowing translucent spirit figures made of stained glass, light blocks, and soul lanterns orbit and tilt around a blackstone altar with soul fire and particle effects at night.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make a spectral spirit follow a player as a personal floating companion instead of orbiting the altar, summon the block_display entities directly and teleport them to your player every tick with /execute as @e[tag=c9_g1] at @p run tp @s ~ ~1.5 ~ ~ ~. Reduce the translation X/Z offset in the display entity transformations from 2.65f down to 1.2f so the spirit hovers right beside your shoulder.
/kill @e[tag=c9_ghost_all]/scoreboard objectives remove c9_timer/setblock ~ ~ ~ minecraft:air/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_blockThe block display entities are riding the central armor stand as passengers and have a 3-block translation offset in their transformation data. Rotating the armor stand rotates the coordinate space of its passengers, swinging them in a circle without needing teleport commands on the displays themselves.
Yes. Change the stained glass block name in the setup summon commands (for example to purple_stained_glass) and adjust the glow_color_override decimal integer to match your chosen color.
▶Articulated Dragon Skeleton ReanimationCreatures & ModelsExpert22 cmds
▶Writhing Abyssal TentaclesCreatures & ModelsHard24 cmds
▶Awakening of the Deep Dark ConstructCreatures & ModelsHard24 cmds
▶Two-Way Mirror PortalCreatures & ModelsHard24 cmds
▶Floating Skull Laser BatteryCreatures & ModelsHard24 cmds
▶Synchronized Flight of the Sculpted WyvernsCreatures & ModelsHard24 cmds