Mob Properties
Properties that can be set on mobs spawned by Spawners.
General Properties
| Attribute | Description | Value |
|---|---|---|
custom-name | The mob's name. | String |
custom-name-visible | Always show the mob's name above it. | true/false |
health | The mob's health. | Decimal |
max-health | The mob's maximum health. | Decimal |
fire-ticks | How long the mob is on fire for, in ticks. | Number |
can-pickup-items | Toggle if the mob can pick up items. | true/false |
remove-when-far-away | Toggle if the mob despawns when no players are nearby. | true/false |
arrows-stuck | The number of arrows stuck in the mob. | Number |
maximum-air | The mob's maximum air, in ticks. | Number |
remaining-air | The mob's remaining air, in ticks. | Number |
maximum-no-damage-ticks | How long the mob is invulnerable for after taking damage, in ticks. | Number |
no-damage-ticks | How long the mob is invulnerable for after spawning, in ticks. | Number |
Mob-Specific Properties
| Mob | Attribute | Value |
|---|---|---|
| Animals, villagers | baby, age-lock | true/false |
| Animals, villagers | age | Number |
| Tameable mobs | tamed | true/false |
| Sheep, shulkers | color | Dye Color |
| Sheep | sheared | true/false |
| Pig | saddle | true/false |
| Slime, magma cube, phantom | size | Number |
| Horse | color | white, creamy, chestnut, brown, black, gray, dark_brown |
| Horse | style | none, white, whitefield, white_dots, black_dots |
| Horse | domestication, max-domestication | Number |
| Horse | jump-strength | Decimal |
| Donkey, mule, llama | carrying-chest | true/false |
| Wolf | angry, sitting | true/false |
| Wolf, cat | collar-color | Dye Color |
| Ocelot | trusting | true/false |
| Cat | lying-down, head-up | true/false |
| Zombie | baby | true/false |
| Zombie | can-break-doors, arms-raised, should-burn-in-day | true/false |
| Zombie (except zombie pigmen) | conversion-time | Number |
| Zombie pigman | angry | true/false |
| Zombie pigman, bee | anger | Number |
| Creeper | powered, ignited | true/false |
| Creeper | fuse-ticks, max-fuse-ticks, explosion-radius | Number |
| Phantom | should-burn-in-day | true/false |
| Iron golem | player-created | true/false |
| Rabbit | rabbit-type | brown, white, black, black_and_white, gold, salt_and_pepper, the_killer_bunny |
| Bat | awake | true/false |
| Fox | fox-type | red, snow |
| Fox | crouching, sleeping, interested, leaping, defending, faceplanted | true/false |
| Panda | main-gene, hidden-gene | normal, lazy, worried, playful, brown, weak, aggressive |
| Panda | rolling, sneezing, eating | true/false |
| Bee | has-nectar, has-stung | true/false |
| Bee | cannot-enter-hive-ticks, time-since-sting | Number |
| Snow golem | derp | true/false |
| Endermite | lifetime-ticks | Number |
| Witch | potion-use-time-left | Number |
| Armor stand | base-plate, visible, arms, small, marker, can-move | true/false |
Modern Properties
These apply to all mobs. Not available in 1.8.
| Attribute | Description | Value |
|---|---|---|
silent | Prevent the mob from making sounds. | true/false |
glowing | Give the mob a glowing outline. | true/false |
invulnerable | Prevent the mob from taking damage. | true/false |
invisible | Make the mob invisible. | true/false |
persistent | Prevent the mob from despawning. | true/false |
gravity | Toggle if the mob is affected by gravity. | true/false |
no-physics | Let the mob move through blocks. | true/false |
collidable | Toggle if the mob can be pushed by other entities. | true/false |
ai | Toggle if the mob moves and acts on its own. | true/false |
aware | Toggle if the mob reacts to its surroundings. | true/false |
aggressive | Put the mob in its aggressive pose. | true/false |
left-handed | Make the mob left-handed. | true/false |
gliding | Make the mob glide. | true/false |
swimming | Make the mob swim. | true/false |
freeze-ticks | How long the mob has been in powder snow, in ticks. | Number |
portal-cooldown | How long until the mob can use a portal, in ticks. | Number |
no-action-ticks | How long the mob has been idle, in ticks. | Number |
Legacy Properties
These are only available in 1.8.
| Mob | Attribute | Value |
|---|---|---|
| Horse | variant | horse, donkey, mule, undead_horse, skeleton_horse |
| Horse | carrying-chest | true/false |
| Ocelot | cat-type | wild_ocelot, black_cat, red_cat, siamese_cat |
| Zombie | villager | true/false |
| Skeleton | skeleton-type | normal, wither |
| Guardian | elder | true/false |
| Armor stand | gravity | true/false |