Sentient Pyromaniac Cube

Summon an autonomous magma cube construct in Vanilla Minecraft that aggressively stalks nearby targets, leaps after them, and engulfs caught victims in fire.

Java EditionMobs & PetsMedium24 commandsTested on a real 26.2 & 26.3 server
A glowing magma block creature chases villagers across grass, leaving dust trails and fiery explosions. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsFireNetherDarkOrangeRedBlackBoss FightAdventure MapMini-gameBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsRotation math21+ commands

The Sentient Pyromaniac Cube is a living block construct built from a glowing magma body, a heavy gilded blackstone brow, and a bright shroomlight visor. Once spawned on the stage, it locks onto the nearest wandering target and bounds across the grass with animated squash-and-stretch hops while trailing orange-red dust.

As soon as the cube closes within striking range, it engulfs its victim in a tall pillar of flames and immediately pivots to hunt the next unburned target while the caught villager sprints away in fiery panic.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /summon minecraft:marker ~ ~ ~ {Tags:["c9_all","c9_hub"]}
  3. /summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_all","c9_core"],Invisible:1b,NoGravity:1b,Invulnerable:1b,Small:1b}
  4. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_all","c9_part","c9_body"],Glowing:1b,glow_color_override:16729344,brightness:{sky:15,block:15},teleport_duration:3,interpolation_duration:4,block_state:{Name:"minecraft:magma_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.55f,0f,-0.55f],scale:[1.1f,1.1f,1.1f]}}
  5. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_all","c9_part","c9_eyes"],brightness:{sky:15,block:15},teleport_duration:3,block_state:{Name:"minecraft:shroomlight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.42f,0.45f,0.45f],scale:[0.84f,0.24f,0.26f]}}
  6. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_all","c9_part","c9_crown"],brightness:{sky:12,block:12},teleport_duration:3,block_state:{Name:"minecraft:gilded_blackstone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.62f,0.72f,-0.62f],scale:[1.24f,0.32f,1.24f]}}
  7. /summon minecraft:villager ~4 ~ ~3 {Tags:["c9_all","c9_prey"]}
  8. /summon minecraft:villager ~-4 ~ ~3 {Tags:["c9_all","c9_prey"]}
  9. /summon minecraft:villager ~3 ~ ~-4 {Tags:["c9_all","c9_prey"]}
  10. /summon minecraft:villager ~-4 ~ ~-3 {Tags:["c9_all","c9_prey"]}

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

  1. /scoreboard players add #hop c9_t 1
  2. /execute if score #hop c9_t matches 15.. run scoreboard players set #hop c9_t 1
  3. /execute store result score #prey c9_t if entity @e[tag=c9_prey]
  4. /execute if score #hop c9_t matches 1 if score #prey c9_t matches ..3 rotated as @e[tag=c9_core,limit=1] positioned ^ ^ ^-6 run summon minecraft:villager ~ ~ ~ {Tags:["c9_all","c9_prey"]}
  5. /execute as @e[tag=c9_prey,distance=9..] at @s facing entity @e[tag=c9_hub,limit=1] feet rotated ~ 0 run tp @s ^ ^ ^0.45 ~ ~
  6. /execute if score #hop c9_t matches 1..9 as @e[tag=c9_core] at @s facing entity @e[tag=c9_prey,tag=!c9_burn,sort=nearest,limit=1] feet rotated ~ 0 run tp @s ^ ^ ^0.38 ~ ~
  7. /execute if score #hop c9_t matches 1..5 at @e[tag=c9_core,limit=1] run tp @e[tag=c9_part] ~ ~0.85 ~ ~ ~
  8. /execute if score #hop c9_t matches 6..14 at @e[tag=c9_core,limit=1] run tp @e[tag=c9_part] ~ ~ ~ ~ ~
  9. /execute if score #hop c9_t matches 1 run data merge entity @e[tag=c9_body,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.45f,0f,-0.45f],scale:[0.9f,1.35f,0.9f]}}
  10. /execute if score #hop c9_t matches 8 run data merge entity @e[tag=c9_body,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.65f,0f,-0.65f],scale:[1.3f,0.8f,1.3f]}}
  11. /execute at @e[tag=c9_core] run particle minecraft:dust{color:[1.0,0.35,0.0],scale:1.6} ~ ~0.5 ~ 0.45 0.35 0.45 0 5 force
  12. /execute at @e[tag=c9_core] run tag @e[tag=c9_prey,tag=!c9_burn,distance=..2.4] add c9_burn
  13. /execute at @e[tag=c9_burn] run particle minecraft:flame ~ ~1.0 ~ 0.38 0.65 0.38 0.04 20 force
  14. /execute if score #hop c9_t matches 8 as @e[tag=c9_burn] at @s run damage @s 5 minecraft:in_fire

How it works

Frames from the test run

Sentient Pyromaniac Cube - frame 1Sentient Pyromaniac Cube - frame 2Sentient Pyromaniac Cube - frame 3

Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A glowing magma cube construct with a gilded blackstone brow and shroomlight visor hops across a grassy platform trailing orange dust and engulfing villagers in dense flame particles.

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. Clear a flat grass area at least 25x25 blocks wide and stand at the centre where you want the arena.
  2. Run each of the 10 setup commands once in chat (or from impulse command blocks placed at the centre) to build the scoreboard, the cube parts, and the initial targets.
  3. Place a line of 14 repeating command blocks (or 1 repeating command block chained into 13 chain command blocks), all set to Unconditional and Always Active.
  4. Paste the 14 loop commands in order into those command blocks, making sure their execution origin matches the arena centre.
  5. Step back and watch the Sentient Pyromaniac Cube stalk, pounce on, and ignite wandering targets around the stage.
  6. When you are finished, run the two remove commands in chat to delete all spawned entities and the scoreboard objective.

Use it with real players

To make the Sentient Pyromaniac Cube hunt real survival players in a dungeon or boss arena instead of villagers, skip the last 4 villager setup commands and delete loop commands 3, 4, and 5. Then replace @e[tag=c9_prey,tag=!c9_burn,sort=nearest,limit=1] in loop command 6 with @a[gamemode=!creative,gamemode=!spectator,distance=..16,sort=nearest,limit=1], and change loop command 12 to tag nearby players (adding a timed tag @a remove c9_burn after a few seconds so the fire eventually wears off).

Remove it again 2 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_t

FAQ

Will the Sentient Pyromaniac Cube set blocks on fire or destroy my build?

No. The cube uses flame particles and direct fire damage commands rather than placing real fire or lava blocks, so your surrounding builds stay completely safe.

Why does the cube switch targets right after catching a villager?

Caught targets receive the c9_burn tag, and the cube's targeting selector looks for targets without that tag so it aggressively chains attacks across the whole group.

Commands used

/damage/data/execute/particle/scoreboard/summon/tag/tp

Similar creations

Join 9Minecraft News & Guides