Scripted Town Celebration

Build an automated villager banquet skit where guests gather around a table, toss floating emerald gifts, pop colorful confetti, and hop for joy.

Java EditionHolograms & Display EntitiesEasy24 commandsTested on a real 26.2 & 26.3 server
Four festive villagers gather around a lantern-lit cake table with floating confetti and heart particles. Download the GIF Video & GIF © www.9minecraft.net

Creatures & ModelsCelebrationMedievalCuteGreenRainbowYellowDecorationAdventure MapServer LobbyItem displaysSummoned mobsBlock building (fill/setblock/clone)21+ commands

The Scripted Town Celebration brings a lively festival scene to any plaza or village square using vanilla command blocks. Four custom-dressed villagers stand around a lantern-lit banquet table topped with cake, turning their heads to chat while floating emerald gifts glide across the table between them.

A single scoreboard clock drives the entire performance in a seamless four-second cycle. The guests take turns presenting glowing treasures, hopping excitedly in place, and setting off bursts of colorful confetti, musical notes, and happy hearts without needing any data packs or player input.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /scoreboard players set #clock c9_tick 0
  3. /fill ~-1 ~ ~-1 ~1 ~ ~1 dark_oak_planks
  4. /setblock ~ ~1 ~ cake
  5. /setblock ~-1 ~1 ~-1 lantern
  6. /setblock ~1 ~1 ~1 lantern
  7. /summon villager ~-2.2 ~ ~ {NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,CustomName:{"text":"Mayor","color":"gold"},VillagerData:{profession:"minecraft:librarian",level:5,type:"minecraft:plains"},Tags:["c9_vil","c9_v1"]}
  8. /summon villager ~2.2 ~ ~ {NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,CustomName:{"text":"Baker","color":"yellow"},VillagerData:{profession:"minecraft:farmer",level:5,type:"minecraft:Savanna"},Tags:["c9_vil","c9_v2"]}
  9. /summon villager ~ ~ ~-2.2 {NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,CustomName:{"text":"Smith","color":"aqua"},VillagerData:{profession:"minecraft:armorer",level:5,type:"minecraft:snow"},Tags:["c9_vil","c9_v3"]}
  10. /summon item_display ~-1.5 ~1.5 ~ {item:{id:"minecraft:emerald",count:1},Glowing:1b,glow_color_override:65280,Tags:["c9_gift"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.75f,0.75f,0.75f],translation:[0f,0f,0f]}}

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

  1. /execute unless entity @e[tag=c9_v4] run summon villager ~ ~ ~2.2 {NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,CustomName:{"text":"Bard","color":"light_purple"},VillagerData:{profession:"minecraft:cleric",level:5,type:"minecraft:taiga"},Tags:["c9_vil","c9_v4"]}
  2. /scoreboard players add #clock c9_tick 1
  3. /execute if score #clock c9_tick matches 80.. run scoreboard players set #clock c9_tick 0
  4. /execute as @e[tag=c9_vil] at @s run tp @s ~ ~ ~ facing ~ ~1 ~
  5. /execute if score #clock c9_tick matches 1..30 as @e[tag=c9_gift] run tp @s ~0.1 ~ ~
  6. /execute if score #clock c9_tick matches 41..70 as @e[tag=c9_gift] run tp @s ~-0.1 ~ ~
  7. /execute at @e[tag=c9_gift] run particle happy_villager ~ ~0.2 ~ 0.15 0.15 0.15 0.02 1 force
  8. /execute if score #clock c9_tick matches 32 as @e[tag=c9_v2] at @s run particle heart ~ ~2.1 ~ 0.3 0.2 0.3 0.01 6 force
  9. /execute if score #clock c9_tick matches 72 as @e[tag=c9_v1] at @s run particle heart ~ ~2.1 ~ 0.3 0.2 0.3 0.01 6 force
  10. /execute if score #clock c9_tick matches 32..36 as @e[tag=c9_vil] at @s run tp @s ~ ~0.08 ~ facing ~ ~1 ~
  11. /execute if score #clock c9_tick matches 37..41 as @e[tag=c9_vil] at @s run tp @s ~ ~-0.08 ~ facing ~ ~1 ~
  12. /execute if score #clock c9_tick matches 35 run particle dust{color:[1.0,0.2,0.5],scale:1.6} ~ ~2.6 ~ 1.4 0.8 1.4 0.1 45 force
  13. /execute if score #clock c9_tick matches 35 run particle dust{color:[0.2,0.9,1.0],scale:1.6} ~ ~2.6 ~ 1.4 0.8 1.4 0.1 45 force
  14. /execute if score #clock c9_tick matches 75 run particle note ~ ~2.5 ~ 1.5 0.6 1.5 1 25 force

How it works

Frames from the test run

Scripted Town Celebration - frame 1Scripted Town Celebration - frame 2Scripted Town Celebration - frame 3

Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: Four custom-hatted villagers stand around a wooden table with lanterns and a cake, surrounded by colorful particles, hearts, and a floating emerald.

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 middle of a flat open area where you want the banquet table to appear.
  2. Run each of the 10 setup commands in chat one by one to build the table, place the cake and lanterns, and summon the villagers and floating gift.
  3. Place a line of 14 Repeating Command Blocks set to Always Active nearby, or one Repeating Command Block followed by 13 Chain Command Blocks.
  4. Paste the 14 loop commands into the blocks in order so the scoreboard clock starts running.
  5. Watch the villagers pass the glowing emerald across the table, pop confetti, and hop in celebration every few seconds.

Use it with real players

If you want the celebration to only happen when a player approaches the banquet table, wrap the second loop command in a distance check such as /execute if entity @a[distance=..10] run scoreboard players add #clock c9_tick 1 so the skit pauses whenever guests walk away.

Remove it again 4 commands

  1. /kill @e[tag=c9_vil]
  2. /kill @e[tag=c9_gift]
  3. /fill ~-1 ~ ~-1 ~1 ~1 ~1 air
  4. /scoreboard objectives remove c9_tick

FAQ

Why do the villagers stay in place without wandering off?

They are summoned with the NoAI:1b tag, which stops normal pathfinding and gravity while still allowing commands to rotate them and make them hop.

Can I change the gift item being passed across the table?

Yes. In the final setup command, replace minecraft:emerald inside the item_display data with any item ID such as minecraft:diamond or minecraft:golden_apple.

Commands used

/execute/fill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides