Bubble-Trap Levitation Fairy Wand

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.

Java EditionWands, Weapons & ToolsEasyTested on a real 26.2 & 26.3 server
An armor stand casts a spell trapping a pumpkin dummy in a levitating glowing blue glass cube. Download the GIF

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /summon armor_stand ~-4 ~ ~ {Tags:["c9_all","c9_actor"],ShowArms:1b,NoBasePlate:1b,Rotation:[-90f,0f],Pose:{RightArm:[-35f,-5f,8f]}}
  3. /item replace entity @e[tag=c9_actor] weapon.mainhand with breeze_rod[enchantment_glint_override=true]
  4. /item replace entity @e[tag=c9_actor] armor.head with golden_helmet[enchantment_glint_override=true]
  5. /item replace entity @e[tag=c9_actor] armor.chest with diamond_chestplate[enchantment_glint_override=true]
  6. /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]}}
  7. /summon armor_stand ~3 ~ ~ {Tags:["c9_all","c9_target","c9_trap"],ShowArms:1b,NoBasePlate:1b,Rotation:[90f,0f]}
  8. /item replace entity @e[tag=c9_target] armor.head with carved_pumpkin
  9. /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]}}
  10. /summon marker ~-3.25 ~1.52 ~0.35 {Tags:["c9_all","c9_beam"]}

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

  1. /scoreboard players add #clock c9_t 1
  2. /execute if score #clock c9_t matches 120.. run scoreboard players set #clock c9_t 0
  3. /execute if score #clock c9_t matches 1 run tp @e[tag=c9_trap] ~3 ~ ~ 90 0
  4. /execute if score #clock c9_t matches 1 run data merge entity @e[tag=c9_actor,limit=1] {Pose:{RightArm:[-75f,0f,8f]}}
  5. /execute if score #clock c9_t matches 10 run data merge entity @e[tag=c9_actor,limit=1] {Pose:{RightArm:[-35f,-5f,8f]}}
  6. /execute if score #clock c9_t matches 4 run tp @e[tag=c9_beam] ~-3.25 ~1.52 ~0.35
  7. /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
  8. /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
  9. /execute if score #clock c9_t matches 25..89 as @e[tag=c9_trap] at @s run tp @s ~ ~0.07 ~ ~9 ~
  10. /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]}}
  11. /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]}}
  12. /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
  13. /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]}}
  14. /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 force

How it works

Frames from the test run

Bubble-Trap Levitation Fairy Wand - frame 1Bubble-Trap Levitation Fairy Wand - frame 2Bubble-Trap Levitation Fairy Wand - frame 3

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.

Build it in your world

  1. Clear a flat area with at least 10 blocks of open space around the centre and stand at the middle block.
  2. Run each of the 10 setup commands once in chat to create the scoreboard, the wizard stand, the star wand tip, the dummy, and the hidden bubble.
  3. Place a line or stack of 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks) nearby.
  4. Paste the 14 loop commands in order into the command blocks and set them all to Always Active.
  5. Watch the 6-second spell cycle run automatically as the wizard charges, fires, floats the dummy in a wobbling bubble, and pops it.

Use it with real players

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.

Remove it again 2 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_t

FAQ

Why does the bubble stay centered around the dummy even while spinning?

Each 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.

Can I change the colour of the magic bubble?

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.

Commands used

/data/execute/item/particle/scoreboard/summon/tp

More wands, weapons & tools