A bioluminescent jellyfish swims in midair as a translucent cyan particle bell pulses upward and dozens of glowing violet tentacles trail fluidly beneath it.
This command creation builds a glowing bioluminescent jellyfish that drifts through the air on its own. Every two seconds, its translucent cyan particle bell contracts tightly to pulse upward, then expands into a wide dome as it glides forward in a gentle circle.
Spinning anchor markers around the bell rim release dozens of trailing tentacle streams that fade from aqua into vivid violet as they ripple downward, giving the effect of an underwater creature floating through the night sky.
/scoreboard objectives add c9t dummy/summon marker ~ ~6.5 ~ {Tags:["c9_jelly","c9_tick"]}/summon marker ~ ~6.5 ~ {Tags:["c9_spin"]}/scoreboard players add @e[type=marker,tag=c9_tick] c9t 1/scoreboard players set @e[type=marker,tag=c9_jelly,scores={c9t=40..}] c9t 0/kill @e[type=marker,tag=c9_trail,scores={c9t=36..}]/execute as @e[type=marker,tag=c9_jelly,scores={c9t=0..15}] at @s run tp @s ^ ^0.09 ^0.05 ~1.8 0/execute as @e[type=marker,tag=c9_jelly,scores={c9t=16..39}] at @s run tp @s ^ ^-0.06 ^0.04 ~1.8 0/execute at @e[type=marker,tag=c9_jelly] run tp @e[type=marker,tag=c9_spin] ~ ~ ~/execute as @e[type=marker,tag=c9_spin] at @s run tp @s ~ ~ ~ ~137.5 0/execute at @e[type=marker,tag=c9_jelly,scores={c9t=0..15}] run particle dust{color:[0.15,0.95,1.0],scale:1.5} ~ ~0.7 ~ 0.55 0.25 0.55 0 30 force/execute at @e[type=marker,tag=c9_jelly,scores={c9t=16..39}] run particle dust{color:[0.0,0.85,1.0],scale:1.6} ~ ~0.45 ~ 0.95 0.25 0.95 0 36 force/execute at @e[type=marker,tag=c9_jelly] run particle soul_fire_flame ~ ~0.45 ~ 0.65 0.25 0.65 0.01 12 force/execute at @e[type=marker,tag=c9_spin] run summon marker ^1.0 ^ ^ {Tags:["c9_trail","c9_tick"]}/execute as @e[type=marker,tag=c9_trail] at @s run tp @s ^0.055 ^-0.085 ^ ~15 0/execute at @e[type=marker,tag=c9_trail,scores={c9t=1..6}] run particle dust_color_transition{from_color:[0.05,0.95,1.0],to_color:[0.7,0.1,1.0],scale:1.25} ~ ~ ~ 0.03 0.03 0.03 0 2 force/execute at @e[type=marker,tag=c9_trail,scores={c9t=7..35}] run particle dust{color:[0.68,0.08,1.0],scale:0.95} ~ ~ ~ 0.03 0.03 0.03 0 2 forcesetup #2 Summons the main jellyfish anchor marker 6.5 blocks above the center of the area and tags it with both c9_jelly and c9_tick so its pulse timer updates automatically.loop #4 During ticks 0 to 15 of the 40-tick cycle, the jellyfish contracts and surges upward while turning 1.8 degrees per tick to swim in a slow circle.loop #7 Rotates the c9_spin marker by 137.5 degrees every tick so new tentacle trails are spaced evenly around the bell rim rather than clumping in one spot.loop #8 Draws the contracted cyan particle bell higher and narrower during the upward power stroke; the next command widens it when the bell relaxes.loop #12 Moves each tentacle marker downward while rotating it slightly in local coordinates, creating a smooth corkscrew wave as it trails behind the bell.loop #13 Blends the top of each tentacle from bright cyan into violet using dust_color_transition before switching to pure glowing violet dust lower down.


Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: A glowing particle jellyfish with a cyan dome bell and trailing purple tentacles floats across a grassy area at night.
If you want a jellyfish to spawn wherever you are standing, run the two /summon setup commands directly at your position using /execute at @p run summon .... You can also make it follow you like a companion by replacing the turning teleport commands with /execute as @e[type=marker,tag=c9_jelly] at @s facing entity @p eyes run tp @s ^ ^ ^0.06.
/kill @e[type=marker,tag=c9_jelly]/kill @e[type=marker,tag=c9_spin]/kill @e[type=marker,tag=c9_trail]/scoreboard objectives remove c9tNo. Its upward and downward pulse distances cancel out cleanly so it stays hovering between 6.5 and 8 blocks high in a tight 3-block circle, and tentacle markers are deleted after 36 ticks so no more than 38 markers ever exist at once.
Yes. Adjust the RGB values inside dust{color:[r,g,b],scale:1.5} and dust_color_transition using decimal numbers from 0.0 to 1.0, and swap soul_fire_flame for flame or glow if you want a warmer or brighter core.