BTCMobs Custom AI
BTCMobs allows you to customize the AI behavior of your mobs using AI Goals and AI Target Selectors.How AI Works
Mobs in Minecraft have two types of AI:- Goal Selectors - Define what actions the mob takes (attack, move, flee, etc.)
- Target Selectors - Define how the mob chooses targets
Configuration
In your mob configuration file, use theAIGoalSelectors and AITargetSelectors sections:
Clearing Default AI
Useclear as the first entry to remove all vanilla AI before adding custom goals:
Goal Priority
Goals are processed in order of priority (lower = higher priority). If no priority is specified, it auto-increments starting from 0:Goal Parameters
Many goals accept parameters in curly braces:See Also
- AI Goals Reference - Complete list of available goals
- AI Targets Reference - Complete list of target selectors