A wizard flicks a star-tipped wand to fire a pink fairy beam, trapping a dummy in a wobbling glass bubble that floats upward before popping in mist.
Watch an armored wizard stand raise a star-tipped breeze rod and flick a trail of pink fairy dust across the stage. When the beam strikes the pumpkin-headed training dummy, a glowing light-blue stained glass bubble expands around it and lifts it into the air.
Using display entity interpolation, the glass cube smoothly squishes and stretches like a real soap bubble as it spins upward through floating sparkles, before popping in a cloud of mist and dropping the dummy back to the grass.
/scoreboard objectives add c9_t dummy/summon armor_stand ~-4 ~ ~ {Tags:["c9_all","c9_actor"],ShowArms:1b,NoBasePlate:1b,Rotation:[-90f,0f],Pose:{RightArm:[-35f,-5f,8f]}}/item replace entity @e[tag=c9_actor] weapon.mainhand with breeze_rod[enchantment_glint_override=true]/item replace entity @e[tag=c9_actor] armor.head with golden_helmet[enchantment_glint_override=true]/item replace entity @e[tag=c9_actor] armor.chest with diamond_chestplate[enchantment_glint_override=true]/summon item_display ~-3.25 ~1.52 ~0.35 {Tags:["c9_all","c9_star"],Glowing:1b,glow_color_override:16766720,billboard:"center",item:{id:"minecraft:nether_star",count:1},transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f]}}/summon armor_stand ~3 ~ ~ {Tags:["c9_all","c9_target","c9_trap"],ShowArms:1b,NoBasePlate:1b,Rotation:[90f,0f]}/item replace entity @e[tag=c9_target] armor.head with carved_pumpkin/summon block_display ~3 ~ ~ {Tags:["c9_all","c9_bubble","c9_trap"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:light_blue_stained_glass"},interpolation_duration:16,transformation:{translation:[0f,1f,0f],left_rotation:[0f,0f,0f,1f],scale:[0f,0f,0f],right_rotation:[0f,0f,0f,1f]}}/summon marker ~-3.25 ~1.52 ~0.35 {Tags:["c9_all","c9_beam"]}/scoreboard players add #clock c9_t 1/execute if score #clock c9_t matches 120.. run scoreboard players set #clock c9_t 0/execute if score #clock c9_t matches 1 run tp @e[tag=c9_trap] ~3 ~ ~ 90 0/execute if score #clock c9_t matches 1 run data merge entity @e[tag=c9_actor,limit=1] {Pose:{RightArm:[-75f,0f,8f]}}/execute if score #clock c9_t matches 10 run data merge entity @e[tag=c9_actor,limit=1] {Pose:{RightArm:[-35f,-5f,8f]}}/execute if score #clock c9_t matches 4 run tp @e[tag=c9_beam] ~-3.25 ~1.52 ~0.35/execute if score #clock c9_t matches 11..24 as @e[tag=c9_beam] at @s run tp @s ~0.45 ~-0.03 ~-0.025/execute if score #clock c9_t matches 4..24 at @e[tag=c9_beam] run particle dust{color:[1.0,0.35,0.95],scale:1.7} ~ ~ ~ 0.1 0.1 0.1 0 10 force/execute if score #clock c9_t matches 25..89 as @e[tag=c9_trap] at @s run tp @s ~ ~0.07 ~ ~9 ~/execute if score #clock c9_t matches 25..57 unless score #clock c9_t matches 26..56 run data merge entity @e[tag=c9_bubble,limit=1] {interpolation_duration:16,start_interpolation:0,transformation:{translation:[-1.3f,-0.05f,-1.3f],left_rotation:[0f,0f,0f,1f],scale:[2.6f,2.25f,2.6f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_t matches 41..73 unless score #clock c9_t matches 42..72 run data merge entity @e[tag=c9_bubble,limit=1] {interpolation_duration:16,start_interpolation:0,transformation:{translation:[-1.075f,-0.25f,-1.075f],left_rotation:[0f,0f,0f,1f],scale:[2.15f,2.75f,2.15f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_t matches 25..89 at @e[tag=c9_bubble] run particle end_rod ~ ~1.1 ~ 1.1 1.1 1.1 0.02 3 force/execute if score #clock c9_t matches 90 run data merge entity @e[tag=c9_bubble,limit=1] {interpolation_duration:2,start_interpolation:0,transformation:{translation:[0f,1f,0f],left_rotation:[0f,0f,0f,1f],scale:[0f,0f,0f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_t matches 90..92 at @e[tag=c9_bubble] run particle cloud ~ ~1.1 ~ 0.9 0.9 0.9 0.08 35 forcesetup #6 Places a glowing Nether Star item_display at the tip of the wizard's breeze rod so the wand has a bright star head.setup #9 Summons the light-blue stained glass block_display with a cyan glow override and scale set to zero until the beam hits.loop #7 Moves the invisible beam marker from the wand tip to the target dummy over 14 ticks while command 8 draws pink dust particles along its path.loop #9 Lifts and spins both the target dummy and the glass bubble together by 0.07 blocks per tick during the levitation window.loop #10 Alternates with command 11 every 16 ticks between a wide squash and a tall stretch transformation, giving the rising bubble a smooth wobble.loop #13 Shrinks the bubble back to zero in 2 ticks at tick 90 while command 14 spawns a burst of cloud mist and gravity drops the dummy.


Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: An armored stand shoots purple particles from a star-tipped wand at a pumpkin-headed dummy, trapping it in a glowing blue glass cube that shrinks and levitates upward amidst sparkles.
To cast this spell yourself, create a right-click detector scoreboard with /scoreboard objectives add c9_cast minecraft.used:minecraft.carrot_on_a_stick and hold a custom wand item. When your c9_cast score hits 1, summon the c9_beam marker at ^ ^1.4 ^1 facing your view direction, move it forward with tp @s ^ ^ ^0.6 each tick, and tag the first mob within 1.5 blocks with c9_target while applying /effect give @e[tag=c9_target] levitation 3 2 true alongside the following c9_bubble display.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_tEach scale change offsets the block display's X and Z translation by exactly negative half of its width (-1.3 for 2.6 width, -1.075 for 2.15 width), keeping the cube's centre locked onto the entity's vertical axis.
Yes. Change light_blue_stained_glass in setup command 9 to magenta_stained_glass or pink_stained_glass, and change glow_color_override to another decimal RGB colour value.