Build a reactive ferrofluid basin in vanilla Minecraft using smooth-interpolating block display entities and glowing magnetic field poles.
Animated BlocksTechnologyRedBlueBlackDecorationLearningMap MakingBlock displaysItem displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands
Ferrofluid is a metallic liquid that reacts strongly to magnetic fields, forming sharp geometric peaks along invisible lines of force. When the glowing red and blue magnetic poles orbit above the basin, the dark liquid surface surges upward into tall, shimmering crystalline spikes that lean and ripple with the field.
This command creation simulates a reactive ferrofluid pool in vanilla Minecraft using an 81-node grid of smooth-interpolating block display entities. Each spike dynamically shifts its height, thickness, block material, and glow color based on its proximity to the passing magnets.
/fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:crying_obsidian/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:black_concrete/summon minecraft:marker ~ ~ ~ {Tags:["c9_e","c9_hub"]}/summon minecraft:item_display ~ ~4.2 ~ {Tags:["c9_e","c9_p1"],Glowing:1b,glow_color_override:16724787,teleport_duration:2,item:{id:"minecraft:redstone_block",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0.35f,0.35f,0.15f,0.85f],translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f]}}/summon minecraft:item_display ~ ~4.2 ~ {Tags:["c9_e","c9_p2"],Glowing:1b,glow_color_override:3381759,teleport_duration:2,item:{id:"minecraft:lapis_block",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0.35f,0.35f,0.15f,0.85f],translation:[0f,0f,0f],scale:[0.85f,0.85f,0.85f]}}/execute positioned ~-4 ~ ~-4 run summon minecraft:marker ~ ~ ~ {Tags:["c9_e","c9_s"]}/execute at @e[tag=c9_s] run summon minecraft:marker ~3 ~ ~ {Tags:["c9_e","c9_s"]}/execute at @e[tag=c9_s] run summon minecraft:marker ~6 ~ ~ {Tags:["c9_e","c9_s"]}/execute at @e[tag=c9_s] run summon minecraft:marker ~1 ~ ~ {Tags:["c9_e","c9_s"]}/execute at @e[tag=c9_s] run summon minecraft:marker ~2 ~ ~ {Tags:["c9_e","c9_s"]}/execute if entity @e[tag=c9_s] at @e[tag=c9_s] run summon minecraft:marker ~ ~ ~3 {Tags:["c9_e","c9_s2"]}/execute if entity @e[tag=c9_s] at @e[tag=c9_s] run summon minecraft:marker ~ ~ ~6 {Tags:["c9_e","c9_s2"]}/execute if entity @e[tag=c9_s] at @e[tag=c9_s] run tag @s add c9_s2/execute if entity @e[tag=c9_s] at @e[tag=c9_s2] run summon minecraft:marker ~ ~ ~1 {Tags:["c9_e","c9_s3"]}/execute if entity @e[tag=c9_s] at @e[tag=c9_s2] run summon minecraft:marker ~ ~ ~2 {Tags:["c9_e","c9_s3"]}/execute if entity @e[tag=c9_s] at @e[tag=c9_s2] run tag @s add c9_s3/execute if entity @e[tag=c9_s] at @e[tag=c9_s3] run summon minecraft:block_display ~ ~ ~ {Tags:["c9_e","c9_f"],interpolation_duration:4,brightness:{sky:15,block:15},block_state:{Name:"minecraft:obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0.382f,0f,0.923f],translation:[0f,-0.5f,-0.5f],scale:[0.75f,0.6f,0.75f]}}/kill @e[tag=c9_s3]/execute as @e[tag=c9_hub] at @s run tp @s ~ ~ ~ ~5 ~/execute at @e[tag=c9_hub] rotated ~ 0 positioned ^ ^ ^2.6 run tp @e[tag=c9_p1,limit=1] ~ ~4.2 ~ ~10 ~/execute at @e[tag=c9_hub] rotated ~180 0 positioned ^ ^ ^2.6 run tp @e[tag=c9_p2,limit=1] ~ ~4.2 ~ ~-10 ~/execute as @e[tag=c9_f] run data merge entity @s {start_interpolation:0,Glowing:0b,block_state:{Name:"minecraft:coal_block"},transformation:{translation:[0f,-0.3f,-0.5f],scale:[0.72f,0.45f,0.72f]}}/execute at @e[tag=c9_p1] positioned ~ ~-4.2 ~ as @e[tag=c9_f,distance=..3.8] run data merge entity @s {start_interpolation:0,Glowing:1b,glow_color_override:16724787,block_state:{Name:"minecraft:obsidian"},transformation:{translation:[0f,-0.2f,-0.39f],scale:[0.55f,2.3f,0.55f]}}/execute at @e[tag=c9_p2] positioned ~ ~-4.2 ~ as @e[tag=c9_f,distance=..3.8] run data merge entity @s {start_interpolation:0,Glowing:1b,glow_color_override:3381759,block_state:{Name:"minecraft:obsidian"},transformation:{translation:[0f,-0.2f,-0.39f],scale:[0.55f,2.3f,0.55f]}}setup #7 Seeds the first row of 9 markers along the X axis using two base-3 offset steps (+3, +6 and +1, +2) from the corner of the basin.loop #7 On the very first tick, expands the 9 X-markers into an 81-point 9x9 grid across the Z axis and summons a rotated block display at every point before command 8 deletes the temporary markers.loop #10 Orbits the positive redstone magnetic pole in a 2.6-block radius circle 4.2 blocks above the centre of the ferrofluid pool.loop #12 Resets all ferrofluid nodes to a low dark coal baseline each tick with <code>start_interpolation:0</code> so nodes smoothly drop back down after a magnet moves away.loop #13 Projects the red magnetic pole's position down to floor level (<code>~ ~-4.2 ~</code>) and stretches nearby ferrofluid nodes into glowing red-outlined obsidian peaks.


Recorded on our own test server: 34 frames at about 5.4 fps. Our image check saw: A red and a blue glowing cube float above a dark pool, causing obsidian-like spikes with matching red and blue glowing outlines to rise up beneath them.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To control the magnetic field yourself instead of using the automatic orbiting poles, replace @e[tag=c9_p1] in loop command 13 with @a[nbt={SelectedItem:{id:"minecraft:redstone_torch"}}] and change positioned ~ ~-4.2 ~ to positioned ~ ~ ~. Walking near or across the basin while holding a redstone torch will draw the ferrofluid spikes directly toward your feet.
/kill @e[tag=c9_e]/fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:grass_blockEach block display is summoned with interpolation_duration set to 4 ticks. Whenever start_interpolation:0 is merged into its data along with a new scale, Minecraft smoothly blends the size transition.
No. The marker expansion only runs on the very first tick while the c9_s tag exists, spawning exactly 81 block displays and immediately deleting all temporary setup markers.
▶Tesseract 4D Hypercube ProjectionAnimated BlocksExpert24 cmds
▶Floating Polyhedral Origami MorphAnimated BlocksExpert21 cmds
▶Holographic Chess Endgame Battle RoyalAnimated BlocksHard24 cmds
▶Holographic Solar Flare MagnetosphereAnimated BlocksExpert24 cmds
▶Hydraulic Origami Crane Folding MatrixAnimated BlocksHard24 cmds
▶Origami Tessellation Breathing WallAnimated BlocksExpert24 cmds