Winged Swine Squadron

A V-formation of five glowing pigs with flapping golden particle wings glides in a circle above the stage, leaving a sparkling trail of soft white clouds.

Java EditionMobs & PetsEasy24 commandsTested on a real 26.2 & 26.3 server
Five glowing pigs fly in formation through the sky with golden and white particle trails. Download the GIF Video & GIF © www.9minecraft.net

Mob ParadesCuteHoly & LightPinkGoldWhiteCinematicServer LobbyDecorationArmor standsSummoned mobsGlowing outlinesRotation math21+ commands

When pigs fly, they fly in formation. This command creation summons an invisible central pivot and five glowing pigs arranged in a classic V-squadron above the grass. Every tick, the squadron banks around the arena while each pig beats a pair of golden and white particle wings that cycle between an upstroke and a downstroke.

Because the pigs use local coordinates (^ ^ ^) anchored to a rotating armor stand, the whole flock turns smoothly together without complex math, trailing clouds, glowing notes, and falling feathers across the sky.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_flap dummy
  2. /scoreboard players set #tick c9_flap 0
  3. /team add c9_swine
  4. /team modify c9_swine color light_purple
  5. /summon armor_stand ~ ~6 ~ {Tags:["c9_swine","c9_pivot"],Invisible:1b,NoGravity:1b,Marker:1b}
  6. /summon pig ~ ~6 ~ {Tags:["c9_swine","c9_pig","c9_p1"],NoAI:1b,NoGravity:1b,Glowing:1b,Silent:1b,Invulnerable:1b,Saddle:1b}
  7. /summon pig ~ ~6 ~ {Tags:["c9_swine","c9_pig","c9_p2"],NoAI:1b,NoGravity:1b,Glowing:1b,Silent:1b,Invulnerable:1b}
  8. /summon pig ~ ~6 ~ {Tags:["c9_swine","c9_pig","c9_p3"],NoAI:1b,NoGravity:1b,Glowing:1b,Silent:1b,Invulnerable:1b}
  9. /summon pig ~ ~6 ~ {Tags:["c9_swine","c9_pig","c9_p4"],NoAI:1b,NoGravity:1b,Glowing:1b,Silent:1b,Invulnerable:1b}
  10. /summon pig ~ ~6 ~ {Tags:["c9_swine","c9_pig","c9_p5"],NoAI:1b,NoGravity:1b,Glowing:1b,Silent:1b,Invulnerable:1b}

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

  1. /team join c9_swine @e[tag=c9_pig]
  2. /scoreboard players add #tick c9_flap 1
  3. /execute if score #tick c9_flap matches 12.. run scoreboard players set #tick c9_flap 0
  4. /execute as @e[tag=c9_pivot] at @s run tp @s ~ ~ ~ ~3.5 ~
  5. /execute as @e[tag=c9_pivot] at @s run tp @e[tag=c9_p1,limit=1] ^7 ^0.5 ^ ~-90 ~
  6. /execute as @e[tag=c9_pivot] at @s run tp @e[tag=c9_p2,limit=1] ^5.5 ^1.0 ^-2.2 ~-90 ~
  7. /execute as @e[tag=c9_pivot] at @s run tp @e[tag=c9_p3,limit=1] ^8.5 ^1.0 ^-2.2 ~-90 ~
  8. /execute as @e[tag=c9_pivot] at @s run tp @e[tag=c9_p4,limit=1] ^4.0 ^1.5 ^-4.4 ~-90 ~
  9. /execute as @e[tag=c9_pivot] at @s run tp @e[tag=c9_p5,limit=1] ^10.0 ^1.5 ^-4.4 ~-90 ~
  10. /execute if score #tick c9_flap matches 0..5 as @e[tag=c9_pig] at @s run particle dust{color:[1.0,0.95,0.75],scale:1.5} ^1.1 ^1.3 ^-0.1 0.35 0.15 0.2 0 6 force
  11. /execute if score #tick c9_flap matches 0..5 as @e[tag=c9_pig] at @s run particle dust{color:[1.0,0.95,0.75],scale:1.5} ^-1.1 ^1.3 ^-0.1 0.35 0.15 0.2 0 6 force
  12. /execute if score #tick c9_flap matches 6..11 as @e[tag=c9_pig] at @s run particle dust{color:[1.0,0.8,0.3],scale:1.5} ^1.1 ^0.2 ^-0.1 0.35 0.15 0.2 0 6 force
  13. /execute if score #tick c9_flap matches 6..11 as @e[tag=c9_pig] at @s run particle dust{color:[1.0,0.8,0.3],scale:1.5} ^-1.1 ^0.2 ^-0.1 0.35 0.15 0.2 0 6 force
  14. /execute as @e[tag=c9_pig] at @s run particle cloud ^ ^0.4 ^-0.9 0.15 0.1 0.15 0.01 2 force

How it works

Frames from the test run

Winged Swine Squadron - frame 1Winged Swine Squadron - frame 2Winged Swine Squadron - frame 3

Recorded on our own test server: 29 frames at about 4.7 fps. Our image check saw: Five glowing pink pigs fly in a formation through the air, trailing clouds of golden and white particles above a grassy area.

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. Enable cheats in your Java Edition 26.x world and stand at the centre of an open area.
  2. Run the 10 setup commands in chat one by one to create the scoreboard timer, pink glowing team, central pivot, and five pigs.
  3. Place 14 command blocks in a line or column near the area.
  4. Set every command block to Repeat, Unconditional, and Always Active.
  5. Paste one loop command into each repeating command block.
  6. Watch the five pigs lock into a V-formation and circle overhead with flapping wings and cloud trails.

Use it with real players

To make the squadron follow you around the world instead of circling a fixed point, skip summoning the c9_pivot armor stand and replace @e[tag=c9_pivot] in the five pig teleport commands with @p (and remove the ~-90 yaw offset so the pigs face the same direction you look).

Remove it again 3 commands

  1. /kill @e[tag=c9_swine]
  2. /scoreboard objectives remove c9_flap
  3. /team remove c9_swine

FAQ

How can I make the squadron fly faster or in a wider circle?

Change the <code>~3.5</code> rotation in the fourth loop command to a larger number like <code>~6</code> for a faster turn, or increase the first caret number (such as <code>^7</code>) in the five pig teleport commands for a wider circle.

Can I ride the lead pig while it flies?

Yes! The lead pig (<code>c9_p1</code>) is summoned with a saddle, or you can run <code>/ride @p mount @e[tag=c9_p1,limit=1]</code> to hop directly onto the squadron leader.

Commands used

/execute/particle/scoreboard/summon/team/tp

Similar creations

Join 9Minecraft News & Guides