Build an automated ferrofluid shield in Minecraft using block displays that ripple to absorb incoming arrows and morph into counter-attacking spikes.
Shields & Force FieldsTechnologyDarkBlackBlueCyanPvPBoss FightAdventure MapBlock displaysArmor standsSmooth animation (interpolation)Riding & passengersSummoned mobsGlowing outlines21+ commands
The Magnetic Ferrofluid Spike-Morph Shield is a hovering defensive barrier constructed from obsidian, crying obsidian, and black concrete block display entities. Suspended in front of its wielder, the dark metallic disk constantly sparks with magnetic energy and ripples outward whenever it intercepts incoming arrows.
After absorbing a volley of projectiles, the liquid-metal surface suddenly hardens and stretches forward into long, glowing obsidian spikes that impale the attackers before retracting back into a smooth disk.
/scoreboard objectives add c9_t dummy/summon armor_stand ~ ~ ~-6 {Tags:["c9_ent","c9_actor"],NoGravity:1b,ShowArms:1b,Rotation:[0f,0f],equipment:{feet:{id:"minecraft:netherite_boots",count:1},legs:{id:"minecraft:netherite_leggings",count:1},chest:{id:"minecraft:netherite_chestplate",count:1},head:{id:"minecraft:netherite_helmet",count:1},mainhand:{id:"minecraft:amethyst_shard",count:1}}}/summon skeleton ~-2.5 ~ ~9 {Tags:["c9_ent","c9_archer"],NoAI:1b,Silent:1b,Rotation:[180f,0f],equipment:{head:{id:"minecraft:chainmail_helmet",count:1},mainhand:{id:"minecraft:bow",count:1}}}/summon skeleton ~ ~ ~10 {Tags:["c9_ent","c9_archer"],NoAI:1b,Silent:1b,Rotation:[180f,0f],equipment:{head:{id:"minecraft:chainmail_helmet",count:1},mainhand:{id:"minecraft:bow",count:1}}}/summon skeleton ~2.5 ~ ~9 {Tags:["c9_ent","c9_archer"],NoAI:1b,Silent:1b,Rotation:[180f,0f],equipment:{head:{id:"minecraft:chainmail_helmet",count:1},mainhand:{id:"minecraft:bow",count:1}}}/summon block_display ~ ~1.5 ~-3.5 {Tags:["c9_ent","c9_sh","c9_c"],Glowing:1b,glow_color_override:43775,interpolation_duration:4,block_state:{Name:"minecraft:obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,0.4f],translation:[-0.8f,-0.8f,-0.2f]}}/summon block_display ~ ~1.5 ~-3.5 {Tags:["c9_ent","c9_sh","c9_r1"],interpolation_duration:4,block_state:{Name:"minecraft:black_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.6f,2.6f,0.25f],translation:[-1.3f,-1.3f,-0.12f]}}/summon block_display ~ ~1.5 ~-3.5 {Tags:["c9_ent","c9_sh","c9_r2"],interpolation_duration:4,block_state:{Name:"minecraft:black_concrete"},transformation:{left_rotation:[0f,0f,0.382f,0.923f],right_rotation:[0f,0f,0f,1f],scale:[2.6f,2.6f,0.25f],translation:[0f,-1.83f,-0.12f]}}/summon block_display ~ ~1.5 ~-3.5 {Tags:["c9_ent","c9_sp","c9_s1"],Glowing:1b,glow_color_override:11141290,interpolation_duration:3,block_state:{Name:"minecraft:crying_obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.35f,0.35f,0.3f],translation:[-0.17f,-0.17f,0f]}}/execute positioned ~ ~1.5 ~-3.5 run summon block_display ~ ~ ~ {Tags:["c9_ent","c9_sp","c9_s2"],Glowing:1b,glow_color_override:43775,interpolation_duration:3,block_state:{Name:"minecraft:black_concrete"},transformation:{left_rotation:[0f,-0.095f,0f,0.995f],right_rotation:[0f,0f,0f,1f],scale:[0.28f,0.28f,0.3f],translation:[-0.6f,-0.14f,0f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_ent","c9_sp","c9_s3"],Glowing:1b,glow_color_override:43775,interpolation_duration:3,block_state:{Name:"minecraft:black_concrete"},transformation:{left_rotation:[0f,0.095f,0f,0.995f],right_rotation:[0f,0f,0f,1f],scale:[0.28f,0.28f,0.3f],translation:[0.32f,-0.14f,0f]}},{id:"minecraft:block_display",Tags:["c9_ent","c9_sp","c9_s4"],Glowing:1b,glow_color_override:11141290,interpolation_duration:3,block_state:{Name:"minecraft:obsidian"},transformation:{left_rotation:[-0.043f,0f,0f,0.999f],right_rotation:[0f,0f,0f,1f],scale:[0.25f,0.25f,0.3f],translation:[-0.12f,0.3f,0f]}}]}/scoreboard players add #t c9_t 1/execute if score #t c9_t matches 100.. run scoreboard players set #t c9_t 1/execute at @e[tag=c9_c] run particle dust{color:[0.05,0.8,1.0],scale:1.2} ~ ~ ~ 1.0 1.0 0.2 0 4 force/execute at @e[tag=c9_c] run particle electric_spark ~ ~ ~ 1.2 1.2 0.2 0.05 3 force/execute if score #t c9_t matches 10 at @e[tag=c9_archer] run summon arrow ~ ~1.5 ~-0.6 {Tags:["c9_ent","c9_ar"],Motion:[0.0,0.08,-1.6]}/execute if score #t c9_t matches 25 at @e[tag=c9_archer] run summon arrow ~ ~1.5 ~-0.6 {Tags:["c9_ent","c9_ar"],Motion:[0.0,0.08,-1.6]}/execute if score #t c9_t matches 40 at @e[tag=c9_archer] run summon arrow ~ ~1.5 ~-0.6 {Tags:["c9_ent","c9_ar"],Motion:[0.0,0.08,-1.6]}/execute at @e[tag=c9_c] as @e[tag=c9_ar,distance=..2.5] at @s run particle soul_fire_flame ~ ~ ~ 0.4 0.4 0.4 0.08 15 force/execute at @e[tag=c9_c] as @e[tag=c9_ar,distance=..2.5] run data merge entity @e[tag=c9_r1,limit=1] {start_interpolation:0,transformation:{scale:[3.2f,3.2f,0.65f],translation:[-1.6f,-1.6f,-0.32f]}}/execute at @e[tag=c9_c] run kill @e[tag=c9_ar,distance=..2.5]/execute if score #t c9_t matches 20 run data merge entity @e[tag=c9_r1,limit=1] {start_interpolation:0,transformation:{scale:[2.6f,2.6f,0.25f],translation:[-1.3f,-1.3f,-0.12f]}}/execute if score #t c9_t matches 35 run data merge entity @e[tag=c9_r1,limit=1] {start_interpolation:0,transformation:{scale:[2.6f,2.6f,0.25f],translation:[-1.3f,-1.3f,-0.12f]}}/execute if score #t c9_t matches 50..75 as @e[tag=c9_sp] run data merge entity @s {start_interpolation:0,transformation:{scale:[0.22f,0.22f,15.0f]}}/execute if score #t c9_t matches 76..99 as @e[tag=c9_sp] run data merge entity @s {start_interpolation:0,transformation:{scale:[0.28f,0.28f,0.3f]}}setup #6 Summons the central obsidian core of the ferrofluid shield using a glowing <code>block_display</code> with a 4-tick interpolation duration for smooth morphing.setup #10 Creates the angled spike nodes as passenger <code>block_display</code> entities rotated slightly outward with quaternions so they fan out toward all three attackers when stretched.loop #9 Detects incoming arrows within 2.5 blocks of the shield core and triggers an instant outward ripple by scaling up the outer black concrete ring.loop #13 Morphs the ferrofluid nodes into 15-block-long lethal spikes by stretching their Z-axis scale from <code>0.3f</code> to <code>15.0f</code> over 3 ticks.


Recorded on our own test server: 45 frames at about 7.4 fps. Our image check saw: A floating black square shield with a glowing blue outline intercepts three arrows and then extends three long glowing spikes forward.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To bind the shield to your own character instead of the demo armor stand, add a repeating command block that teleports all shield segments in front of your view while holding an amethyst shard: /execute as @a[nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}] at @s anchored eyes run tp @e[tag=c9_sh] ^ ^-0.3 ^2.5 ~ ~ and do the same for @e[tag=c9_sp], plus damage mobs along the spike line with /damage when the spikes extend.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_tEach block_display entity has interpolation_duration set to 3 or 4 ticks, and the loop resets start_interpolation to 0 whenever the transformation scale changes.
Yes. Replace tag=c9_ar in the detection commands with type=#minecraft:impact_projectiles to intercept fireballs, tridents, and snowballs as well.
▶Phenakistoscope Zoetrope Illusion ShieldShields & Force FieldsExpert24 cmds
▶Spiro-Gyre Gyroscope Barrier in Vanilla Minecraft CommandsShields & Force FieldsHard24 cmds
▶Cuckoo-Clock Bird-House Spring Punch-ShieldShields & Force FieldsMedium24 cmds
▶Gorgon Petrification Eye-Beam AegisShields & Force FieldsMedium22 cmds
▶Clockwork Gear-Grinder Sawblade ShieldShields & Force FieldsHard25 cmds
▶Cybernetic Hard-Light Origami Shield GauntletShields & Force FieldsHard24 cmds