# Cobblemon Better NPC
Every NPC trainer gets real battle AI — four difficulty tiers, assigned automatically, from a kid who spams their strongest move to a competitive player that calculates damage, switches, and plays for the win.
**Server-side.** Works in singleplayer and on any server — vanilla clients join fine.
---
## Features
- Four tiers: `beginner`, `intermediate`, `advanced`, `competitive` *(plus `vanilla` to opt out)*
- Auto-assigned from the NPC's vanilla skill (0–5) — zero setup on existing NPCs
- Fair by default: only uses info revealed in battle *(optional `omniscient` mode for boss fights)*
- Advanced+: real damage calc, smart switching, hazards, status/setup play
- Competitive: 1–2 turn look-ahead, prediction, sacrifice play, ace preservation
## Commands *(`/betternpc`)*
`tier set|get|clear`, `inspect`, `reload`, `debug on|off`, `version`
## Config
`config/cobblemon-better-npc/config.json` — global default tier, per-class map, skill map, per-tier tunables.
---
## Requirements
**Minecraft 1.21.1 — Fabric & NeoForge**
| | Fabric | NeoForge |
|---|---|---|
| Required | Fabric API, Fabric Language Kotlin | NeoForge 21.1+, Kotlin for Forge 5+ |
Cobblemon 1.7.3+ required on both.
---
MIT License · Dev: **igorbescobar**

