Transform a tiny zombie on a glowing ritual pedestal into an eight-block-tall titan surrounded by swirling emerald and gold particles using scale attributes.
Giant MobsDarkMysticHorrorGreenGoldBlackBoss FightAdventure MapLearningSummoned mobsBlock building (fill/setblock/clone)SoundsRotation math21+ commands
The Growing Giant Zombie command creation showcases the entity scale attribute in modern Minecraft Java Edition by smoothly transforming a tiny zombie into a towering boss right before your eyes. Standing on a darkstone and crying obsidian ritual altar, the creature spins slowly while drawing in streams of emerald and golden energy particles.
As the scoreboard timer ticks upward, the zombie steadily expands from a fraction of a block to eight times normal height, culminating in a fiery soul flame shockwave before resetting the cycle.
/scoreboard objectives add c9_timer dummy/scoreboard objectives add c9_scale dummy/fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 polished_blackstone_bricks/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 crying_obsidian/setblock ~ ~-1 ~ sea_lantern/setblock ~-3 ~ ~-3 soul_lantern/setblock ~3 ~ ~-3 soul_lantern/setblock ~-3 ~ ~3 soul_lantern/setblock ~3 ~ ~3 soul_lantern/summon marker ~ ~ ~ {Tags:["c9_root","c9_ctrl"]}/execute unless entity @e[tag=c9_mob] run summon husk ~ ~ ~ {Tags:["c9_root","c9_mob"],NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,Glowing:1b,CustomName:{"text":"Titan Zombie","color":"gold","bold":true},CustomNameVisible:1b,equipment:{head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:golden_chestplate",count:1},mainhand:{id:"minecraft:diamond_sword",count:1}},attributes:[{id:"minecraft:scale",base:0.5d}]}/scoreboard players add @e[tag=c9_ctrl] c9_timer 1/execute as @e[tag=c9_ctrl,scores={c9_timer=1..100}] run scoreboard players operation @s c9_scale = @s c9_timer/execute as @e[tag=c9_ctrl,scores={c9_timer=1..100}] run scoreboard players add @s c9_scale 6/execute as @e[tag=c9_ctrl,scores={c9_timer=1..100}] store result entity @e[tag=c9_mob,limit=1] attributes[{id:"minecraft:scale"}].base double 0.075 run scoreboard players get @s c9_scale/execute as @e[tag=c9_mob] at @s run tp @s ~ ~ ~ ~4 ~/execute as @e[tag=c9_ctrl,scores={c9_timer=1..100}] at @s run particle dust{color:[0.1,1.0,0.3],scale:2.5} ~ ~3 ~ 1.8 2.5 1.8 0 18 force/execute as @e[tag=c9_ctrl,scores={c9_timer=1..100}] at @s run particle dust{color:[1.0,0.8,0.1],scale:2.5} ~ ~4 ~ 2.2 3.0 2.2 0 15 force/execute as @e[tag=c9_ctrl,scores={c9_timer=1..100}] at @s run particle totem_of_undying ~ ~1 ~ 1.5 0.5 1.5 0.4 12 force/execute as @e[tag=c9_ctrl,scores={c9_timer=20}] at @s run playsound entity.zombie.ambient master @a ~ ~ ~ 2 1.5/execute as @e[tag=c9_ctrl,scores={c9_timer=100}] at @s run playsound entity.ender_dragon.growl master @a ~ ~ ~ 2 0.6/execute as @e[tag=c9_ctrl,scores={c9_timer=100}] at @s run particle explosion_emitter ~ ~2 ~ 1 1 1 0 2 force/execute as @e[tag=c9_ctrl,scores={c9_timer=100..135}] at @s run particle soul_fire_flame ~ ~0.2 ~ 3.5 0.3 3.5 0.08 25 force/execute as @e[tag=c9_ctrl,scores={c9_timer=140..}] run scoreboard players set @s c9_timer 0loop #1 Checks if the giant mob is missing and summons a gold-armored Husk with a custom name, glowing outline, and a starting <code>minecraft:scale</code> base attribute of 0.5.loop #3 Copies the current tick count from <code>c9_timer</code> into <code>c9_scale</code> during the first 100 ticks (5 seconds) of the cycle.loop #5 Uses <code>execute store result entity</code> with a 0.075 multiplier to write the scoreboard value directly into the zombie's <code>minecraft:scale</code> base attribute, growing it smoothly up to 8x normal size.loop #7 Spawns bright emerald and gold dust clouds along with rising totem particles around the pedestal while the zombie absorbs energy.loop #13 Triggers an explosion effect and a ring of soul fire flames around the base once the titan reaches full height at tick 100.


Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: A glowing husk in gold armor stands on a darkstone and crying obsidian platform, surrounded by green and gold particles as it changes size from normal to giant across the frames.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To turn this into a live boss fight that triggers when a player steps near the altar, remove NoAI:1b and Invulnerable:1b from the summon command, and take out the /scoreboard players set @s c9_timer 0 reset command so the titan stays at maximum size and chases nearby players once its transformation completes.
/kill @e[tag=c9_root]/scoreboard objectives remove c9_timer/scoreboard objectives remove c9_scale/fill ~-3 ~ ~-3 ~3 ~ ~3 air/fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 grass_blockCheck that your world difficulty is not set to Peaceful. Even with NoAI enabled, zombie variants immediately despawn in Peaceful difficulty.
Increase the scale multiplier in the 5th loop command from 0.075 to a larger number like 0.15, which will double the maximum height up to Minecraft's 16x scale limit.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp