Summon an autonomous spectral wraith in vanilla Minecraft that glides in figure-eight loops around a dark obsidian altar trailing purple smoke and soul fire.
Math CurvesDarkHorrorMysticPurpleBlackBlueDecorationBoss FightAdventure MapBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
The Gliding Shadow Wraith is a self-driving ambient boss decoration built entirely with vanilla command blocks. It uses two rotating invisible pivot markers running at a 1:2 angular speed ratio to trace a continuous figure-eight flight path above a crying obsidian altar.
As the glowing wraith swoops through the night air, it leaves a long ribbon of dark smoke, color-shifting violet dust, and flickering cyan soul fire flames that hang in its wake before fading away.
/scoreboard objectives add c9_t dummy/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:crying_obsidian/fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:obsidian/setblock ~ ~1 ~ minecraft:crying_obsidian/setblock ~ ~2 ~ minecraft:soul_fire/summon minecraft:armor_stand ~ ~2.5 ~ {Tags:["c9_en","c9_piv1"],Invisible:1b,NoGravity:1b,Marker:1b}/summon minecraft:armor_stand ~ ~2.5 ~ {Tags:["c9_en","c9_piv2"],Invisible:1b,NoGravity:1b,Marker:1b,Rotation:[0f,-16f]}/summon minecraft:armor_stand ~ ~3.5 ~ {Tags:["c9_en","c9_wraith"],Invisible:1b,NoGravity:1b,Glowing:1b,equipment:{head:{id:"minecraft:wither_skeleton_skull",count:1},chest:{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":1703966}}}}/summon minecraft:block_display ~ ~3.5 ~ {Tags:["c9_en","c9_core"],Glowing:1b,glow_color_override:11141375,teleport_duration:2,block_state:{Name:"minecraft:crying_obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.9f,0.5f],translation:[-0.25f,0.6f,-0.25f]}}/execute as @e[tag=c9_piv1] at @s run tp @s ~ ~ ~ ~4.5 ~/execute as @e[tag=c9_piv2] at @s run tp @s ~ ~ ~ ~9.0 ~/execute at @e[tag=c9_piv1] positioned ^ ^ ^4.2 rotated as @e[tag=c9_piv2] positioned ^ ^ ^2.2 as @e[tag=c9_wraith] run tp @s ~ ~ ~/execute as @e[tag=c9_wraith] at @s facing entity @e[tag=c9_piv1,limit=1] feet run tp @s ~ ~ ~ ~-90 ~/execute at @e[tag=c9_wraith] as @e[tag=c9_core] run tp @s ~ ~ ~ ~ ~/execute at @e[tag=c9_wraith] run particle minecraft:large_smoke ~ ~1.0 ~ 0.15 0.25 0.15 0.01 4 force/execute at @e[tag=c9_wraith] run particle minecraft:dust_color_transition{from_color:[0.65,0.1,1.0],to_color:[0.05,0.05,0.08],scale:2.4} ~ ~1.1 ~ 0.25 0.35 0.25 0 10 force/execute at @e[tag=c9_wraith] run particle minecraft:soul_fire_flame ~ ~1.3 ~ 0.15 0.2 0.15 0.02 4 force/execute at @e[tag=c9_wraith] run particle minecraft:soul ~ ~0.7 ~ 0.2 0.1 0.2 0.02 1 force/execute at @e[tag=c9_wraith] run particle minecraft:witch ~ ~0.9 ~ 0.3 0.3 0.3 0.05 5 force/particle minecraft:soul_fire_flame ~ ~2.4 ~ 0.35 0.4 0.35 0.02 2 force/particle minecraft:portal ~ ~1.8 ~ 0.8 0.5 0.8 0.3 10 forcesetup #7 Summons the secondary pivot marker pitched upward at <code>-16f</code> degrees so its local forward vector naturally adds vertical swooping height as it spins.loop #1 Rotates the primary pivot marker by 4.5 degrees every tick (completing one full orbit every 4 seconds).loop #2 Rotates the secondary pivot marker at twice the speed (9.0 degrees per tick). Combining two circular offsets at a 1:2 ratio produces a smooth figure-eight Lissajous curve.loop #3 Chains local caret coordinates (<code>^ ^ ^4.2</code> along pivot 1, then rotated as pivot 2 and offset by <code>^ ^ ^2.2</code>) to teleport the wraith along its figure-eight trajectory.loop #7 Spawns <code>dust_color_transition</code> particles at the wraith's body that smoothly shift from bright violet to charcoal black as they linger in the air.


Recorded on our own test server: 56 frames at about 9.3 fps. Our image check saw: A glowing armored wraith on an armor stand glides in a figure-eight path above a crying obsidian altar at night, trailing purple dust, dark smoke, and blue soul flames.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the Gliding Shadow Wraith orbit around a player instead of a fixed altar, add a repeating command block that teleports both pivot markers to your player every tick while keeping their rotation: /execute as @e[tag=c9_piv1] at @s rotated as @s at @p run tp @s ~ ~1.5 ~ ~ ~ and do the same for c9_piv2.
/kill @e[tag=c9_en]/scoreboard objectives remove c9_t/fill ~-2 ~ ~-2 ~2 ~3 ~2 minecraft:air/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_blockIn the third Loop command, increase the local forward offsets in positioned ^ ^ ^4.2 and positioned ^ ^ ^2.2 to larger numbers such as ^ ^ ^7.0 and ^ ^ ^3.5.
If a leading space appears after the slash in a scoreboard command or if armor stand equipment uses pre-1.21.5 ArmorItems NBT instead of the equipment field, the command fails or the stand spawns bare. This version uses direct continuous pivot rotation and modern equipment syntax.
▶Spinning DNA Torus Knot SupercoilMath CurvesExpert23 cmds
▶Twisting Double-Pendulum Chaos Light PaintingMath CurvesHard24 cmds
▶Weaving Celtic Knotwork Tapestry LoomMath CurvesHard24 cmds
▶Morphing Ammonite Suture Fractal ShellMath CurvesHard21 cmds
▶Oscillating String Theory Calabi-Yau ManifoldMath CurvesExpert23 cmds
▶Self-Inverting Klein Bottle Manifold FlowMath CurvesExpert21 cmds