Self-Weaving Enchanted Flying Carpet

Summon a magical floating loom in Minecraft that weaves thirty-five glowing wool threads into an enchanted flying carpet right before your eyes.

Java EditionHolograms & Display EntitiesHard24 commandsTested on a real 26.2 & 26.3 server
Glowing spools weave wool blocks into an enchanted flying carpet that ripples in midair. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksMysticRoyalRedGoldCyanDecorationCinematicAdventure MapBlock displaysItem displaysSmooth animation (interpolation)Scoreboard timersExecute chainsGlowing outlines21+ commands

Watch an invisible magical loom spin to life in midair, pulling thirty-five individual wool block displays down from four glowing golden spools. Each tile zips into place along sparkling thread beams, snapping together into a rich red, gold, and cyan patterned rug.

Once the weave locks together, the entire carpet ripples like real fabric in the wind, lifting off the ground in a swirl of golden dust and enchanting particles.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard objectives add c9_id dummy
  3. /scoreboard objectives add c9_x dummy
  4. /scoreboard objectives add c9_z dummy
  5. /scoreboard objectives add c9_m dummy
  6. /summon marker ~ ~ ~ {Tags:["c9_ctrl","c9_ent"]}
  7. /summon item_display ~-3.5 ~6 ~-2.5 {Tags:["c9_spool","c9_ent"],Glowing:1b,glow_color_override:16766720,item:{id:"minecraft:yellow_wool"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.6f,1.2f,0.6f]}}
  8. /summon item_display ~3.5 ~6 ~-2.5 {Tags:["c9_spool","c9_ent"],Glowing:1b,glow_color_override:16766720,item:{id:"minecraft:red_wool"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.6f,1.2f,0.6f]}}
  9. /summon item_display ~-3.5 ~6 ~2.5 {Tags:["c9_spool","c9_ent"],Glowing:1b,glow_color_override:5636095,item:{id:"minecraft:cyan_wool"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.6f,1.2f,0.6f]}}
  10. /summon item_display ~3.5 ~6 ~2.5 {Tags:["c9_spool","c9_ent"],Glowing:1b,glow_color_override:16766720,item:{id:"minecraft:yellow_wool"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.6f,1.2f,0.6f]}}

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_t 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 140.. run kill @e[tag=c9_tile]
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 140.. run scoreboard players set @e[tag=c9_ctrl] c9_t 0
  4. /execute as @e[tag=c9_ctrl] if score @s c9_t matches 1..70 run scoreboard players operation @s c9_m = @s c9_t
  5. /execute as @e[tag=c9_ctrl] if score @s c9_t matches 1..70 run scoreboard players set #two c9_m 2
  6. /execute as @e[tag=c9_ctrl] if score @s c9_t matches 1..70 run scoreboard players operation @s c9_m %= #two c9_m
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1..70 if score @e[tag=c9_ctrl,limit=1] c9_m matches 0 run summon block_display ~ ~6 ~ {Tags:["c9_tile","c9_init","c9_ent"],teleport_duration:14,Glowing:1b,glow_color_override:16724787,block_state:{Name:"minecraft:red_wool"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.45f,-0.1f,-0.45f],scale:[0.92f,0.22f,0.92f]}}
  8. /execute as @e[tag=c9_init] run scoreboard players operation @s c9_id = @e[tag=c9_ctrl,limit=1] c9_t
  9. /execute as @e[tag=c9_init] run scoreboard players operation @s c9_id /= #two c9_m
  10. /execute as @e[tag=c9_init] run scoreboard players remove @s c9_id 1
  11. /execute as @e[tag=c9_init] run scoreboard players set @s c9_m 7
  12. /execute as @e[tag=c9_init] store result score @s c9_x run scoreboard players operation @s c9_z = @s c9_id
  13. /execute as @e[tag=c9_init] run scoreboard players operation @s c9_x %= @s c9_m
  14. /execute as @e[tag=c9_init] run scoreboard players operation @s c9_z /= @s c9_m

How it works

Frames from the test run

Self-Weaving Enchanted Flying Carpet - frame 1Self-Weaving Enchanted Flying Carpet - frame 2Self-Weaving Enchanted Flying Carpet - frame 3

Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: Four glowing vertical spools hover in midair while wool tiles move along particle threads to weave a red, gold, and cyan patterned carpet that ripples and floats upward.

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. Create a flat area and stand at the center where you want the flying carpet to appear.
  2. Run each of the 10 setup commands in chat once to create the scoreboard objectives, controller marker, and floating spools.
  3. Place a line of 14 repeating command blocks (or one repeating command block leading into 13 chain command blocks), all set to Always Active.
  4. Paste the loop commands in order into the command blocks to start the weaving cycle.
  5. Watch the 35 wool tiles weave downwards from the spools and cycle every 7 seconds.

Use it with real players

To make the carpet follow a player after it finishes weaving, wrap the loop coordinate origin with /execute at @p run ... once c9_t reaches 75, and summon an invisible happy_ghast or pig with a saddle at the center tile so you can sit on the woven rug.

Remove it again 6 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_t
  3. /scoreboard objectives remove c9_id
  4. /scoreboard objectives remove c9_x
  5. /scoreboard objectives remove c9_z
  6. /scoreboard objectives remove c9_m

FAQ

Why does the carpet re-weave itself after a few seconds?

The loop resets at 140 ticks (7 seconds) so you can watch the full self-weaving animation repeatedly. Remove loop commands 2 and 3 if you want the carpet to stay woven permanently.

Can I change the colors of the carpet pattern?

Yes! Change the block_state Name in the summon and data merge commands to any wool, concrete, or glazed terracotta blocks you like.

Commands used

/execute/kill/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides