Hyperspeed Pig

Watch an ordinary pig break the sound barrier as it ricochets around a fenced ice arena with an armored rider, neon trails, and sonic booms.

Java EditionMobs & PetsEasy23 commandsTested on a real 26.2 & 26.3 server
A glowing pig leaves a bright magenta and cyan circular trail across a fenced ice arena. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsIceLightningPinkCyanBlueMini-gameDecorationArmor standsRiding & passengersSummoned mobsBlock building (fill/setblock/clone)SoundsRotation math21+ commands

This command creation turns a humble pig into a sound-barrier-breaking projectile. Inside a fenced packed-ice arena, an armored rider holding a carrot on a stick hangs on while the glowing pig charges up with electric sparks and launches into rapid multi-block dashes.

Each dash leaves behind bright magenta and cyan neon particle streaks, fiery sparks, and full sonic boom shockwaves as the pig ricochets from wall to wall.

1. Setup - type these once 8 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 packed_ice
  3. /fill ~-8 ~ ~-8 ~8 ~ ~8 oak_fence outline
  4. /fill ~-7 ~ ~-7 ~7 ~ ~7 air
  5. /summon pig ~ ~ ~3 {Tags:["c9_pig","c9_cleanup"],CustomName:{text:"TURBO OINK",color:"light_purple",bold:true},CustomNameVisible:1b,Glowing:1b,Invulnerable:1b,PersistenceRequired:1b,NoAI:1b,equipment:{saddle:{id:"minecraft:saddle",count:1}},Passengers:[{id:"minecraft:armor_stand",Tags:["c9_actor","c9_cleanup"],ShowArms:1b,Small:1b,CustomName:{text:"Rider",color:"gold",bold:true},CustomNameVisible:1b,equipment:{mainhand:{id:"minecraft:carrot_on_a_stick",count:1},head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:diamond_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}]}
  6. /team add c9_pink
  7. /team modify c9_pink color light_purple
  8. /team join c9_pink @e[tag=c9_pig]

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

  1. /scoreboard players add @e[tag=c9_pig] c9_timer 1
  2. /execute as @e[tag=c9_pig,scores={c9_timer=1..14}] at @s run particle electric_spark ~ ~0.6 ~ 0.6 0.5 0.6 0.4 20 force
  3. /execute as @e[tag=c9_pig,scores={c9_timer=1..14}] at @s run tp @s ~ ~ ~ ~35 ~
  4. /execute as @e[tag=c9_pig,scores={c9_timer=15}] at @s run particle sonic_boom ~ ~0.8 ~ 0 0 0 0 1 force
  5. /execute as @e[tag=c9_pig,scores={c9_timer=15}] at @s run playsound entity.warden.sonic_boom master @a ~ ~ ~ 0.7 1.5
  6. /execute as @e[tag=c9_pig,scores={c9_timer=15..64}] at @s run tp @s ^ ^ ^0.95 ~13 ~
  7. /execute as @e[tag=c9_pig,scores={c9_timer=27}] at @s run particle sonic_boom ~ ~0.8 ~ 0 0 0 0 1 force
  8. /execute as @e[tag=c9_pig,scores={c9_timer=39}] at @s run particle sonic_boom ~ ~0.8 ~ 0 0 0 0 1 force
  9. /execute as @e[tag=c9_pig,scores={c9_timer=51}] at @s run particle sonic_boom ~ ~0.8 ~ 0 0 0 0 1 force
  10. /execute as @e[tag=c9_pig,scores={c9_timer=15..64}] at @s run particle dust{color:[1.0,0.1,0.8],scale:2.5} ~ ~0.5 ~ 0.35 0.25 0.35 0 20 force
  11. /execute as @e[tag=c9_pig,scores={c9_timer=15..64}] at @s run particle dust{color:[0.1,0.9,1.0],scale:2.0} ~ ~0.7 ~ 0.3 0.2 0.3 0 15 force
  12. /execute as @e[tag=c9_pig,scores={c9_timer=15..64}] at @s run particle flame ~ ~0.2 ~ 0.25 0.1 0.25 0.05 10 force
  13. /execute as @e[tag=c9_pig] at @s run tp @e[tag=c9_actor,limit=1] ~ ~ ~ ~ ~
  14. /execute as @e[tag=c9_pig,scores={c9_timer=65..}] run tp @s ~ ~ ~3 0 0
  15. /scoreboard players set @e[tag=c9_pig,scores={c9_timer=65..}] c9_timer 0

How it works

Frames from the test run

Hyperspeed Pig - frame 1Hyperspeed Pig - frame 2Hyperspeed Pig - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A glowing pig with an armored rider dashes in a circle inside a fenced ice arena, leaving a circular trail of magenta and cyan particles, fire sparks, and a sonic boom ring.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand in the center of a flat open area and run each of the setup commands once in chat.
  2. Place a repeating command block set to Always Active underneath or beside the arena.
  3. Chain 14 chain command blocks (Always Active, Unconditional) after the repeating block and paste one loop command into each.
  4. Watch the armored rider and Turbo Oink charge up with sparks before blasting around the ice rink.
  5. When you are done, run the remove commands to clear the entities, scoreboard, and blocks.

Use it with real players

To trigger the hyperspeed dash yourself while riding any saddled pig, hold a carrot on a stick and replace the timer trigger with a scoreboard objective tracking minecraft.used:minecraft.carrot_on_a_stick, or mount the c9_pig directly after removing the armor stand rider.

Remove it again 5 commands

  1. /kill @e[tag=c9_cleanup]
  2. /scoreboard objectives remove c9_timer
  3. /team remove c9_pink
  4. /fill ~-8 ~ ~-8 ~8 ~ ~8 air
  5. /fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 grass_block

FAQ

Why did my armor stand spawn without armor or with a raw JSON name in newer Minecraft versions?

Java Edition 1.21.5 and 26.x replaced ArmorItems and HandItems with the single equipment compound, and CustomName now takes a direct SNBT compound rather than a quoted JSON string.

Can I change the size of the pig's flight path?

Yes! Adjust the forward step in ^ ^ ^0.95 or the turn angle ~13 ~ in the sixth loop command to make the circle wider or tighter.

Commands used

/execute/fill/particle/playsound/scoreboard/summon/team/tp

Similar creations

Join 9Minecraft News & Guides