Skip to main content

Mob Properties

Properties that can be set on mobs spawned by Spawners.

General Properties​

AttributeDescriptionValue
custom-nameThe mob's name.String
custom-name-visibleAlways show the mob's name above it.true/false
healthThe mob's health.Decimal
max-healthThe mob's maximum health.Decimal
fire-ticksHow long the mob is on fire for, in ticks.Number
can-pickup-itemsToggle if the mob can pick up items.true/false
remove-when-far-awayToggle if the mob despawns when no players are nearby.true/false
arrows-stuckThe number of arrows stuck in the mob.Number
maximum-airThe mob's maximum air, in ticks.Number
remaining-airThe mob's remaining air, in ticks.Number
maximum-no-damage-ticksHow long the mob is invulnerable for after taking damage, in ticks.Number
no-damage-ticksHow long the mob is invulnerable for after spawning, in ticks.Number

Mob-Specific Properties​

MobAttributeValue
Animals, villagersbaby, age-locktrue/false
Animals, villagersageNumber
Tameable mobstamedtrue/false
Sheep, shulkerscolorDye Color
Sheepshearedtrue/false
Pigsaddletrue/false
Slime, magma cube, phantomsizeNumber
Horsecolorwhite, creamy, chestnut, brown, black, gray, dark_brown
Horsestylenone, white, whitefield, white_dots, black_dots
Horsedomestication, max-domesticationNumber
Horsejump-strengthDecimal
Donkey, mule, llamacarrying-chesttrue/false
Wolfangry, sittingtrue/false
Wolf, catcollar-colorDye Color
Ocelottrustingtrue/false
Catlying-down, head-uptrue/false
Zombiebabytrue/false
Zombiecan-break-doors, arms-raised, should-burn-in-daytrue/false
Zombie (except zombie pigmen)conversion-timeNumber
Zombie pigmanangrytrue/false
Zombie pigman, beeangerNumber
Creeperpowered, ignitedtrue/false
Creeperfuse-ticks, max-fuse-ticks, explosion-radiusNumber
Phantomshould-burn-in-daytrue/false
Iron golemplayer-createdtrue/false
Rabbitrabbit-typebrown, white, black, black_and_white, gold, salt_and_pepper, the_killer_bunny
Batawaketrue/false
Foxfox-typered, snow
Foxcrouching, sleeping, interested, leaping, defending, faceplantedtrue/false
Pandamain-gene, hidden-genenormal, lazy, worried, playful, brown, weak, aggressive
Pandarolling, sneezing, eatingtrue/false
Beehas-nectar, has-stungtrue/false
Beecannot-enter-hive-ticks, time-since-stingNumber
Snow golemderptrue/false
Endermitelifetime-ticksNumber
Witchpotion-use-time-leftNumber
Armor standbase-plate, visible, arms, small, marker, can-movetrue/false

Modern Properties​

These apply to all mobs. Not available in 1.8.

AttributeDescriptionValue
silentPrevent the mob from making sounds.true/false
glowingGive the mob a glowing outline.true/false
invulnerablePrevent the mob from taking damage.true/false
invisibleMake the mob invisible.true/false
persistentPrevent the mob from despawning.true/false
gravityToggle if the mob is affected by gravity.true/false
no-physicsLet the mob move through blocks.true/false
collidableToggle if the mob can be pushed by other entities.true/false
aiToggle if the mob moves and acts on its own.true/false
awareToggle if the mob reacts to its surroundings.true/false
aggressivePut the mob in its aggressive pose.true/false
left-handedMake the mob left-handed.true/false
glidingMake the mob glide.true/false
swimmingMake the mob swim.true/false
freeze-ticksHow long the mob has been in powder snow, in ticks.Number
portal-cooldownHow long until the mob can use a portal, in ticks.Number
no-action-ticksHow long the mob has been idle, in ticks.Number

Legacy Properties​

These are only available in 1.8.

MobAttributeValue
Horsevarianthorse, donkey, mule, undead_horse, skeleton_horse
Horsecarrying-chesttrue/false
Ocelotcat-typewild_ocelot, black_cat, red_cat, siamese_cat
Zombievillagertrue/false
Skeletonskeleton-typenormal, wither
Guardianeldertrue/false
Armor standgravitytrue/false