Base Mob Templates
hostile_mob
Base template for hostile mobs.Minecraft entity type
Mob faction: Hostile, Friendly, Passive
Display name (supports color codes)
Maximum health
Base damage
Options
Allow natural despawning
Suppress sounds
Always display nameplate
Entity detection range
Movement speed multiplier
Attacks per second
Prevent random armor/weapons
Prevent picking up items
Prevent vanilla drops
Prevent jockey mounting
Prevent zombie/piglin transformation
Prevent sun damage
Can dig out when spawned underground
hostile_mob-advanced
Advanced hostile mob with AI templates.hostile_mob: Base statsdetection_ai: Detection and aggro AImob_levelling: Level scaling system
Mob Templates
detection_ai
Advanced detection and aggro system (from detection_ai-template.yml). Features:- Line-of-sight detection
- Aggro range management
- Alert state system
- Patrol behavior
mob_levelling
Level-based stat scaling (from mob_levelling-template.yml). Features:- Health scaling by level
- Damage scaling by level
- Equipment quality scaling
- Experience rewards
mob_spawner
Spawner controller template (from mob_spawner-template.yml). Features:- Wave spawning
- Spawn limits
- Weighted spawn tables
- Cooldown management
Game Mechanic Mobs
channel_indicator
Visual indicator for spell channeling.Text content (updated by spell system)
Billboard mode: CENTER, FIXED, VERTICAL, HORIZONTAL
X, Y, Z scale
X, Y, Z offset
Block light level (0-15)
Sky light level (0-15)
damage_indicator
Floating damage number display (from damage_indicator-mob.yml). Features:- Text display entity
- Animated movement toward caster
- Color-coded by damage type
- Auto-removal after duration
generic_marker-mobs
Generic marker entities for various purposes (from generic_marker-mobs.yml). Types:- Location markers
- Waypoint markers
- Area markers
targeting_marker-mobs
Target reticle and selection markers (from targeting_marker-mobs.yml). target_marker-block Reticle for target selection system.- Block display entity for reticle
- Follows selected target
- Auto-removes when orphaned
summon-mobs
Player summon templates (from summon-mobs.yml). Features:- Owner tracking
- Parent relationship
- Combat state management
- Custom nameplate
timer-display-mobs
Timer and countdown displays (from timer-display-mobs.yml). Features:- Text display entity
- Countdown/countup modes
- Custom formatting
Mob Configuration Format
Core Fields
Minecraft entity type (e.g., ZOMBIE, SKELETON, text_display)
Inherit from template(s), comma-separated
Faction: Hostile, Friendly, Passive, SERVER
Display name (supports color codes and placeholders)
Maximum health
Base attack damage
Armor points
Knockback resistance (0.0-1.0)
Variables
<caster.var.variable_name>.
Persist variables through server restarts
Equipment
HAND: Main handOFFHAND: Off handHEAD: HelmetCHEST: ChestplateLEGS: LeggingsFEET: Boots
Skills
~onSpawn: When mob spawns~onLoad: When chunk loads~onDeath: When mob dies~onTimer:X: Every X ticks~onDamaged: When taking damage~onAttack: When attacking~onTarget: When acquiring target~onCombat: When entering combat~onDropCombat: When leaving combat
Display Entities
For text_display, block_display, and item_display entities.DisplayOptions
Text content (text_display only)
Maximum line width before wrapping
Billboard mode: CENTER, FIXED, VERTICAL, HORIZONTAL
RGBA background color
Text opacity (0-255)
Summon Handler Integration
summon-init
Automatically called on summon spawn. Sets:caster.owneruuid: Owner’s UUIDcaster.ownername: Owner’s namecaster.combatstate: Combat state (1=Idle, 2=Low Alert, 3=High Alert, 4=Combat)- Parent and owner relationships
- Custom nameplate
summon-tick
Automatic behavior updates.- Look at target in combat
- Track target location
- Update stance based on combat state