Basic Mob Examples
This page contains example mob configurations to help you get started.
Simple Zombie
A basic zombie with custom name and stats.
SimpleZombie:
Type: ZOMBIE
Display: "&cSimple Zombie"
Health: 30
Damage: 5
Options:
AlwaysShowName: true
Guard Mob
A zombie that actively hunts players within range.
TownGuard:
Type: ZOMBIE
Display: "&6Town Guard"
Health: 60
Damage: 8
Options:
AlwaysShowName: true
PreventSunburn: true
AIGoalSelectors:
- clear
- meleeattack{speed=1.3}
- randomstroll{speed=0.6}
- lookaround
AITargetSelectors:
- clear
- hurtby
- players{range=20}
Boss Mob
A powerful boss with skills and custom drops.
ForestBoss:
Type: ZOMBIE
Display: "&2&lForest Guardian"
Health: 500
Damage: 15
Options:
AlwaysShowName: true
PreventSunburn: true
BossBar:
Enabled: true
Title: "&2Forest Guardian"
Color: GREEN
Style: SEGMENTED_10
AIGoalSelectors:
- clear
- meleeattack{speed=1.5}
- leapattarget{velocity=0.6}
- randomstroll{speed=0.5}
AITargetSelectors:
- clear
- hurtby
- players{range=30}
Skills:
- effect:particles{p=happyVillager;amount=30} @self ~onSpawn
- effect:sound{s=entity.wither.spawn;v=1.0} @self ~onSpawn
- effect:particles{p=flame;amount=5} @self ~onAttack
- effect:particles{p=soul;amount=50} @self ~onDeath
Drops:
- BossLoot
Passive Animal
A custom animal that flees from players.
ScaryCow:
Type: COW
Display: "&aNervous Cow"
Health: 15
Options:
AlwaysShowName: true
AIGoalSelectors:
- clear
- float
- panic{speed=2.0}
- fleeplayers{range=8;speed=1.5}
- randomstroll{speed=0.6}
Ranged Attacker
A skeleton with ranged attack behavior.
EliteArcher:
Type: SKELETON
Display: "&bElite Archer"
Health: 40
Damage: 6
Equipment:
MainHand: BOW
AIGoalSelectors:
- clear
- rangedattack{speed=1.0;range=20;interval=30}
- fleeplayers{range=5;speed=1.2}
- randomstroll
AITargetSelectors:
- clear
- hurtby
- players{range=25}
Pack Leader with Minions
A mob that can be used as a pack leader (mount system).
WolfAlpha:
Type: WOLF
Display: "&7&lAlpha Wolf"
Health: 80
Damage: 10
Options:
AlwaysShowName: true
AIGoalSelectors:
- clear
- leapattarget{velocity=0.5}
- meleeattack{speed=1.4}
- randomstroll{speed=0.8}
AITargetSelectors:
- clear
- hurtby
- players{range=15}
Skills:
- effect:sound{s=entity.wolf.howl;v=1.0} @self ~onSpawn
- effect:particles{p=crit;amount=10} @self ~onAttack
Quick Reference
| Entity Type | Use Case |
|---|---|
ZOMBIE | Melee fighters, guards |
SKELETON | Ranged attackers |
SPIDER | Fast melee, wall climbing |
CREEPER | Explosive enemies |
BLAZE | Flying ranged attackers |
COW, PIG, SHEEP | Passive mobs |
WOLF | Pack creatures |
IRON_GOLEM | Tanky defenders |