Slice two cyan and magenta portals across a 15-block bridge, then watch the floor fold like a glowing accordion to pull distant enemies into melee range.
Melee WeaponsMysticSpaceCyanPinkPurplePvPAdventure MapBoss FightBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands
The Spatial Accordion Corridor-Fold Dagger bends space instead of making you sprint across a room. When the wielder slashes open a cyan portal in front of them and a magenta portal behind a distant husk, the six segments of the dark prismarine and sea lantern bridge tilt upward and compress like a glowing accordion.
Built with interpolated block_display transformation matrices and quaternion rotations, the entire 15-block corridor smoothly pleats into a tight zigzag, dragging the far portal and the enemy straight to the wielder's blade before unfolding back into place.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/fill ~-8 ~-1 ~-2 ~7 ~-1 ~2 minecraft:obsidian/fill ~-7 ~-1 ~-1 ~6 ~-1 ~1 minecraft:crying_obsidian/summon minecraft:armor_stand ~-7.2 ~ ~0 {Tags:["c9_all","c9_actor"],NoGravity:1b,ShowArms:1b,Rotation:[-90f,0f],Pose:{RightArm:[-35f,0f,15f],LeftArm:[-20f,-25f,-10f]},equipment:{mainhand:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:enchantment_glint_override":true}},head:{id:"minecraft:netherite_helmet",count:1},chest:{id:"minecraft:netherite_chestplate",count:1},legs:{id:"minecraft:netherite_leggings",count:1},feet:{id:"minecraft:netherite_boots",count:1}}}/summon minecraft:husk ~5.2 ~ ~0 {Tags:["c9_all","c9_enemy"],NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Glowing:1b,Rotation:[90f,0f],equipment:{mainhand:{id:"minecraft:iron_axe",count:1},head:{id:"minecraft:chainmail_helmet",count:1}}}/summon minecraft:block_display ~-6.0 ~ ~0 {Tags:["c9_all","c9_seg","c9_up","c9_s1"],Glowing:1b,glow_color_override:65535,interpolation_duration:20,teleport_duration:20,block_state:{Name:"minecraft:dark_prismarine"},transformation:{translation:[-1.1f,-0.9f,-1.5f],left_rotation:[0f,0f,0f,1f],scale:[2.2f,0.9f,3f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~-3.8 ~ ~0 {Tags:["c9_all","c9_seg","c9_dn","c9_s2"],Glowing:1b,glow_color_override:16711935,interpolation_duration:20,teleport_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-1.1f,-0.9f,-1.5f],left_rotation:[0f,0f,0f,1f],scale:[2.2f,0.9f,3f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~-1.6 ~ ~0 {Tags:["c9_all","c9_seg","c9_up","c9_s3"],Glowing:1b,glow_color_override:65535,interpolation_duration:20,teleport_duration:20,block_state:{Name:"minecraft:dark_prismarine"},transformation:{translation:[-1.1f,-0.9f,-1.5f],left_rotation:[0f,0f,0f,1f],scale:[2.2f,0.9f,3f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~0.6 ~ ~0 {Tags:["c9_all","c9_seg","c9_dn","c9_s4"],Glowing:1b,glow_color_override:16711935,interpolation_duration:20,teleport_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-1.1f,-0.9f,-1.5f],left_rotation:[0f,0f,0f,1f],scale:[2.2f,0.9f,3f],right_rotation:[0f,0f,0f,1f]}}/execute unless entity @e[tag=c9_s5] run summon minecraft:block_display ~2.8 ~ ~0 {Tags:["c9_all","c9_seg","c9_up","c9_s5"],Glowing:1b,glow_color_override:65535,interpolation_duration:20,teleport_duration:20,block_state:{Name:"minecraft:dark_prismarine"},transformation:{translation:[-1.1f,-0.9f,-1.5f],left_rotation:[0f,0f,0f,1f],scale:[2.2f,0.9f,3f],right_rotation:[0f,0f,0f,1f]}}/execute unless entity @e[tag=c9_s6] run summon minecraft:block_display ~5.0 ~ ~0 {Tags:["c9_all","c9_seg","c9_dn","c9_s6"],Glowing:1b,glow_color_override:16711935,interpolation_duration:20,teleport_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-1.1f,-0.9f,-1.5f],left_rotation:[0f,0f,0f,1f],scale:[2.2f,0.9f,3f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 110.. run scoreboard players set #tick c9_t 1/execute if score #tick c9_t matches 5..95 run particle minecraft:dust{color:[0.1,0.95,1.0],scale:1.6} ~-6.4 ~1.6 ~0 0.05 1.2 1.3 0 14 force/execute if score #tick c9_t matches 10..95 at @e[tag=c9_enemy] run particle minecraft:dust{color:[1.0,0.15,0.85],scale:1.6} ~0.5 ~1.6 ~0 0.05 1.2 1.3 0 14 force/execute if score #tick c9_t matches 18 as @e[tag=c9_up] run data merge entity @s {start_interpolation:0,interpolation_duration:22,teleport_duration:22,transformation:{translation:[-0.6f,0.1f,-1.5f],left_rotation:[0f,0f,0.4617f,0.887f],scale:[2.4f,0.85f,3f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_t matches 18 as @e[tag=c9_dn] run data merge entity @s {start_interpolation:0,interpolation_duration:22,teleport_duration:22,transformation:{translation:[-0.6f,0.1f,-1.5f],left_rotation:[0f,0f,-0.4617f,0.887f],scale:[2.4f,0.85f,3f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_t matches 19..40 run tp @e[tag=c9_s2] ~-5.2 ~ ~0/execute if score #tick c9_t matches 19..40 run tp @e[tag=c9_s3] ~-4.3 ~ ~0/execute if score #tick c9_t matches 19..40 run tp @e[tag=c9_s4] ~-3.4 ~ ~0/execute if score #tick c9_t matches 19..40 run tp @e[tag=c9_s5] ~-2.5 ~ ~0/execute if score #tick c9_t matches 19..40 as @e[tag=c9_s6,tag=!c9_enemy] run tp @s ~-1.6 ~ ~0/execute if score #tick c9_t matches 19..40 as @e[tag=c9_enemy] at @s run tp @s ~-0.38 ~ ~setup #7 Summons the first bridge slab using a <code>block_display</code> with <code>interpolation_duration:20</code> and <code>teleport_duration:20</code> so both position changes and matrix rotations animate smoothly.loop #5 Draws the vertical cyan entry portal in front of the wielder using <code>dust</code> particles with RGB color and scale values.loop #7 Applies a +55 degree Z-axis quaternion rotation (<code>[0f,0f,0.4617f,0.887f]</code>) to the odd-numbered bridge slabs so they fold upward into accordion peaks.loop #8 Applies a -55 degree Z-axis quaternion rotation (<code>[0f,0f,-0.4617f,0.887f]</code>) to the even-numbered sea lantern slabs so they meet the peaks in a tight V-pleat.loop #14 Slides the enemy husk toward the wielder in sync with the folding bridge segments while the magenta portal follows behind it.


Recorded on our own test server: 51 frames at about 8.4 fps. Our image check saw: Six segments of dark prismarine and sea lanterns fold upward like a glowing cyan and magenta accordion over a pit of obsidian and crying obsidian, bringing a husk forward.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a real player trigger the spatial fold when swinging a custom dagger, create a minecraft.used:minecraft.netherite_sword scoreboard objective and replace the @e[tag=c9_actor] reference with @a[scores={c9_use=1..}]. Summon the six block_display bridge segments using local coordinates (^ ^ ^2 through ^ ^ ^12) facing the player's look direction, and pull any mob tagged or selected near the far portal toward ^ ^ ^2.5 over 22 ticks.
/kill @e[tag=c9_all]/fill ~-8 ~-1 ~-2 ~7 ~-1 ~2 minecraft:grass_block/scoreboard objectives remove c9_tEach block_display has teleport_duration and interpolation_duration set to 20-22 ticks, so Minecraft smoothly blends both their /tp positions and their quaternion rotation matrices.
Yes. Edit the left_rotation quaternion in loop commands 7 and 8. The third and fourth numbers are sin(angle/2) and cos(angle/2) around the Z axis.
▶Glass-Shattering Mirror Dimension KatanaMelee WeaponsExpert17 cmds
▶Vampiric Blood-Moon Crimson ScytheMelee WeaponsHard22 cmds
▶Firefly-Jar Lantern Swarm-Release FlailMelee WeaponsMedium20 cmds
▶Graviton Singularity Yo-Yo SlicerMelee WeaponsExpert24 cmds
▶Kaleidoscopic Spirograph Mandala ChakramMelee WeaponsExpert22 cmds
▶Kintsugi Shattered Porcelain GreatswordMelee WeaponsExpert18 cmds