Cobblemon NPCs banner
Cobblemon NPCs icon

Cobblemon NPCs

Adds an NPC creation mod with a user-friendly Pokemon team builder tab to configure each NPC's team: species, level, nature, moves, EVs, IVs, shiny, form,...

00
cobblemon-fabricServer1.21.1mod

Cobblemon NPCs – What’s Inside

  • Adds a server-side NPC authoring suite built for Cobblemon 1.7.1 (MC 1.21.1). NPC definitions are saved to config/cobblemonnpcs/npcs.json and can be created/edited in-game with /cobnpcs.
  • NPCs support types: trainer (battle + trade actions), non_trainer (dialogue/quests only), and trader (trade-first). Change types with /cobnpcs type <id> <trainer|non_trainer|trader>.
  • Trainer team builder tab: configure per-slot species, level, nature, moves (comma-separated), EVs/IVs, shiny flag, form, and held item via /cobnpcs team ... subcommands. /cobnpcs team summary <id> shows the current roster in chat.
  • Presentation: right-clicking an NPC shows dialogue plus clickable “tabs” for team preview, trades, quests, and an optional battle prompt. Sneaking while interacting (ops only) opens an editor-style summary for quick tweaks.
  • Dialogue, rewards, music, skin/name, trades, and quests are all configurable: /cobnpcs dialogue add, /cobnpcs reward, /cobnpcs battlemusic, /cobnpcs skin, /cobnpcs setname, /cobnpcs trade add, /cobnpcs quest add/quest reward.
  • Trading tab: supports buy/sell/item-for-item offers. Pricing can use CobbleDollars via the cobbledollars scoreboard objective (auto-created if missing) and will fall back to item costs when no currency is set. Players browse with /cobnpcs trade browse <id> or by clicking the tab, and accept with /cobnpcs trade accept <id> <offer>.
  • Quest tab: lightweight quest listings with descriptions and rewards, viewable through /cobnpcs quest show <id> or the tab click.
  • Spawning: /cobnpcs spawn <id> <player> pins a spawn point at the target player’s position and spawns an Armor Stand-based NPC with custom name and interaction tags.

Notes and limitations

  • Trainer battles are advertised via the battle tab; the integration is a compatibility stub and expects server-side Cobblemon battle hooks to actually start fights.
  • “Skin” is stored as metadata only; visual skin changes are not applied to the Armor Stand model.
  • Spawned Armor Stand NPCs are invulnerable and tagged but will not auto-respawn if removed; re-run the spawn command to replace them.
  • CobbleDollars support relies on the cobbledollars scoreboard objective; ensure the economy plugin shares that objective for balances to sync.