Magnetic Ferrofluid Audio Visualizer

A pool of glossy black display blocks morphs into sharp geometric spikes that dance, split, and levitate in response to a pulsing bassline.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
Dark stretched block displays with glowing cyan outlines rise from an obsidian and iron basin at night. Download the GIF Video & GIF © www.9minecraft.net

SimulationsMusicTechnologyDarkBlackPurpleWhiteDecorationServer LobbyCinematicBlock displaysSmooth animation (interpolation)Riding & passengersSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

This command creation builds an animated magnetic ferrofluid equalizer right in the middle of your world. An obsidian and iron resonant basin holds a dark pool of liquid metal made from interpolated block displays that twist, stretch into towering needle-sharp spires, and levitate in concentric rings when the synthetic bass drops.

Using matrix transformations and smooth display interpolation, the black spikes transition between dormant pools, sudden vertical bursts, and spinning magnetic crowns while emitting electric sparks, sonic booms, and glowing cyan-to-magenta energy waves.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /scoreboard players set #time c9_tick 0
  3. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:iron_block
  4. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 minecraft:crying_obsidian
  5. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 minecraft:coal_block
  6. /setblock ~ ~-1 ~ minecraft:sea_lantern
  7. /summon minecraft:block_display ~ ~0.2 ~ {Tags:["c9_ff","c9_core"],Glowing:1b,glow_color_override:5592575,brightness:{sky:15,block:15},block_state:{Name:"minecraft:obsidian"},interpolation_duration:4,teleport_duration:4,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,0.4f,1.6f],translation:[-0.8f,0f,-0.8f]}}
  8. /summon minecraft:marker ~ ~0.2 ~ {Tags:["c9_ff","c9_spawner"]}
  9. /execute as @e[tag=c9_spawner] at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:black_concrete"},interpolation_duration:4,teleport_duration:4,Passengers:[{id:"minecraft:block_display",Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:obsidian"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:black_concrete"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:obsidian"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:black_concrete"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:obsidian"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:black_concrete"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:obsidian"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4},{id:"minecraft:block_display",Tags:["c9_ff","c9_ring2"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:coal_block"},interpolation_duration:4,teleport_duration:4}]}
  10. /execute as @e[tag=c9_ff] run ride @s dismount

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

  1. /execute if score #init c9_tick matches 1 run scoreboard players add #time c9_tick 1
  2. /execute unless score #init c9_tick matches 1 run scoreboard players set #rot c9_tick 0
  3. /execute unless score #init c9_tick matches 1 as @e[tag=c9_ring1] at @s run tp @s ~ ~ ~ ~ ~
  4. /execute unless score #init c9_tick matches 1 as @e[tag=c9_ring1] at @s rotated ~ 0 run scoreboard players add #rot c9_tick 45
  5. /execute unless score #init c9_tick matches 1 as @e[tag=c9_ring2] at @s run scoreboard players set #init c9_tick 1
  6. /execute if score #time c9_tick matches 80.. run scoreboard players set #time c9_tick 0
  7. /execute as @e[tag=c9_ff,type=minecraft:block_display] at @s run tp @s ~ ~ ~ ~9 ~
  8. /execute if score #time c9_tick matches 1 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,transformation:{left_rotation:[0.38f,0f,0.38f,0.84f],right_rotation:[0f,0f,0f,1f],scale:[1.1f,5.2f,1.1f],translation:[-0.55f,0f,-0.55f]}}
  9. /execute if score #time c9_tick matches 1 as @e[tag=c9_ring1] run data merge entity @s {start_interpolation:0,transformation:{left_rotation:[0.25f,0f,0f,0.96f],right_rotation:[0f,0.38f,0f,0.92f],scale:[0.5f,3.6f,0.5f],translation:[-0.25f,0.2f,1.3f]}}
  10. /execute if score #time c9_tick matches 1 as @e[tag=c9_ring2] run data merge entity @s {start_interpolation:0,transformation:{left_rotation:[-0.35f,0f,0.15f,0.92f],right_rotation:[0f,0f,0f,1f],scale:[0.4f,2.6f,0.4f],translation:[1.9f,0.4f,-0.2f]}}
  11. /execute if score #time c9_tick matches 20 as @e[tag=c9_ff,type=minecraft:block_display] run data merge entity @s {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,0.25f,1.3f],translation:[-0.65f,0f,-0.65f]}}
  12. /execute if score #time c9_tick matches 40 as @e[tag=c9_ring1] run data merge entity @s {start_interpolation:0,transformation:{left_rotation:[-0.4f,0.2f,0f,0.89f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,4.5f,0.45f],translation:[-1.6f,1.2f,0.5f]}}
  13. /execute if score #time c9_tick matches 40 as @e[tag=c9_ring2] run data merge entity @s {start_interpolation:0,transformation:{left_rotation:[0.3f,0.3f,0f,0.9f],right_rotation:[0f,0f,0f,1f],scale:[0.35f,3.8f,0.35f],translation:[-0.2f,1.8f,-2.3f]}}
  14. /execute if score #time c9_tick matches 1..5 run particle minecraft:soul_fire_flame ~ ~1.2 ~ 1.6 1.2 1.6 0.08 12 force

How it works

Frames from the test run

Magnetic Ferrofluid Audio Visualizer - frame 1Magnetic Ferrofluid Audio Visualizer - frame 2Magnetic Ferrofluid Audio Visualizer - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: An iron and crying obsidian basin containing dark coal blocks with a few stretched, glowing-outlined dark block displays rising from the center.

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 at the center of a flat open area where you want the ferrofluid basin to appear.
  2. Run each command from the Setup list one by one in chat (or paste them into an impulse command block).
  3. Place a stack of 14 Repeating Command Blocks (or 1 Repeating + 13 Chain Command Blocks) nearby, all set to Always Active.
  4. Paste the 14 Loop commands in order into the command blocks.
  5. Watch the dark pool automatically pulse, erupt into geometric spikes, and orbit the basin every 4 seconds.

Use it with real players

To make the ferrofluid react to a real player jumping or sneaking nearby instead of an automatic timer, replace the if score #time c9_tick matches 1 condition on the spike eruption commands with if entity @a[distance=..8,nbt={OnGround:0b}] so the spikes shoot up whenever you jump to the beat.

Remove it again 3 commands

  1. /kill @e[tag=c9_ff]
  2. /scoreboard objectives remove c9_tick
  3. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:grass_block

FAQ

Why do the spikes move smoothly instead of snapping between sizes?

Each block_display entity is summoned with interpolation_duration and teleport_duration set to 4 ticks, and every transformation update resets start_interpolation to 0 so Minecraft blends the scale and rotation matrices smoothly.

Does this creation cause lag over time?

No. All 17 display entities are summoned once during setup and transformed in place during the loop, so the entity count never grows.

Commands used

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

Similar creations

Join 9Minecraft News & Guides