Build a giant medieval castle flag that ripples smoothly in an invisible breeze using a seamless 4-frame loop of shifting wool blocks and wind particles.
Animated BlocksMedievalRoyalRedGoldWhiteDecorationMap MakingAdventure MapParticlesBlock building (fill/setblock/clone)21+ commands
Static flags on castle towers can feel a bit lifeless. This creation builds a stone watchtower topped with a massive crimson and gold royal banner that ripples continuously in the wind. As the fabric waves back and forth across three dimensions, white wind particles and golden sparkles drift past the fluttering swallowtail edge.
It uses a 4-frame block animation cycle driven by a single scoreboard timer, shifting columns of red and yellow wool across the Z-axis every four ticks to create a realistic travelling wave motion without needing any mods or resource packs.
/scoreboard objectives add c9_t dummy/summon marker ~ ~ ~ {Tags:["c9_flag"]}/fill ~-5 ~ ~-2 ~-1 ~4 ~2 stone_bricks/fill ~-5 ~5 ~-2 ~-1 ~5 ~2 chiseled_stone_bricks hollow/fill ~-3 ~5 ~ ~-3 ~16 ~ spruce_fence/setblock ~-3 ~17 ~ gold_block/setblock ~-5 ~6 ~-2 soul_lantern/setblock ~-1 ~6 ~-2 soul_lantern/scoreboard players add @e[tag=c9_flag] c9_t 1/execute if score @e[tag=c9_flag,limit=1] c9_t matches 16.. run scoreboard players set @e[tag=c9_flag] c9_t 0/execute if score @e[tag=c9_flag,limit=1] c9_t matches 0 run fill ~-2 ~10 ~-1 ~6 ~15 ~1 air/execute if score @e[tag=c9_flag,limit=1] c9_t matches 0 run fill ~-2 ~10 ~ ~2 ~15 ~ red_wool/execute if score @e[tag=c9_flag,limit=1] c9_t matches 0 run fill ~3 ~10 ~1 ~4 ~15 ~1 yellow_wool/execute if score @e[tag=c9_flag,limit=1] c9_t matches 0 run fill ~5 ~11 ~ ~6 ~14 ~ red_wool/execute if score @e[tag=c9_flag,limit=1] c9_t matches 4 run fill ~-2 ~10 ~-1 ~6 ~15 ~1 air/execute if score @e[tag=c9_flag,limit=1] c9_t matches 4 run fill ~-2 ~10 ~ ~1 ~15 ~ red_wool/execute if score @e[tag=c9_flag,limit=1] c9_t matches 4 run fill ~2 ~10 ~-1 ~4 ~15 ~-1 yellow_wool/execute if score @e[tag=c9_flag,limit=1] c9_t matches 4 run fill ~5 ~11 ~1 ~6 ~14 ~1 red_wool/execute if score @e[tag=c9_flag,limit=1] c9_t matches 8 run fill ~-2 ~10 ~-1 ~6 ~15 ~1 air/execute if score @e[tag=c9_flag,limit=1] c9_t matches 8 run fill ~-2 ~10 ~ ~2 ~15 ~ red_wool/execute if score @e[tag=c9_flag,limit=1] c9_t matches 8 run fill ~3 ~10 ~-1 ~6 ~14 ~-1 red_wool/particle cloud ~2 ~13 ~ 4 2 1 0.08 2 forcesetup #3 Builds the stone brick tower base and wooden flagpole on the left side of the stage so the flag hangs squarely in the centre.loop #1 Advances the <code>c9_t</code> timer on the marker entity by 1 every game tick, resetting back to 0 when it reaches 16 (a 0.8-second wave cycle).loop #3 Clears the 3-block thick flag box at tick 0 before drawing Frame 1, where the golden stripe bends forward to <code>~1</code> on the Z-axis.loop #7 At tick 4, clears the space and draws Frame 2, shifting the golden stripe backward to <code>~-1</code> while the swallowtail tip snaps forward to <code>~1</code>.loop #14 Streams white <code>cloud</code> particles across the banner every tick to make the invisible breeze visible on camera.


Recorded on our own test server: 48 frames at about 9.6 fps. Our image check saw: A small stone brick base supports a wooden pole with a gold block finial and an animated, plain red wool flag surrounded by white particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
Because this is an environmental display build for castles and lobbies, it runs automatically with no player action required. If you want to place multiple flags around a castle, give each flag its own marker tag like c9_flag_2 and use /clone to copy the animated wool frames from a hidden template room underneath your castle.
/fill ~-5 ~ ~-2 ~6 ~17 ~2 air/kill @e[tag=c9_flag]/scoreboard objectives remove c9_tYes! Replace <code>red_wool</code> and <code>yellow_wool</code> in the loop commands with any wool, concrete, or stained glass blocks to match your kingdom's colours.
Change the tick numbers in the loop commands (currently 0, 4, 8, and reset at 16). Doubling them to 0, 8, 16, and 32 will make the breeze gentle and slow.
▶Castle Gate Opening SequenceAnimated BlocksEasy24 cmds
▶Colossal Loot Chest Display FountainAnimated BlocksMedium23 cmds
▶Crystal Chandelier Domino ShatterAnimated BlocksHard22 cmds
▶Grand Hinged Castle Gate & DrawbridgeAnimated BlocksMedium24 cmds
▶Morphing Banquet HallAnimated BlocksHard23 cmds
▶Waving Tricolor Banner DisplayAnimated BlocksEasy24 cmds