CobbleSpawners
This Cobblemon addon mod allows map creators or admins to place custom Pokémon spawners, manage spawn settings via a GUI, and control Cobblemon spawning behavior, including Pokémon species, spawn chances, and custom stats.
CobbleSpawners
CobbleSpawners
CobbleSpawners is a comprehensive Fabric mod for Cobblemon that gives server owners and map makers ultimate control over Pokémon spawning. Place and manage highly advanced spawners that can operate on timers, spawn Pokémon with custom stats and aspects, and even function in protected areas where natural spawning is disabled.
Dependencies
* Fabric API * Fabric Language Kotlin * Cobblemon * E-Utils
---
Features
* Performance Features: Place custom spawner blocks that can be configured in-game. Make them visible or invisible, and even get copies of fully configured spawners to place elsewhere. * Performance Features: Configure spawn timers, the number of Pokémon to spawn at once, the total limit per spawner, and the radius in which they can appear. * Performance Features: Control every aspect of the spawned Pokémon, including species, form, custom aspects (like shiny), level ranges, IV ranges for each stat, EV yields on defeat, size modifiers, and held items with custom chances. * Performance Features: Set spawners to only operate during specific times (day/night), in certain weather conditions (clear, rain, thunder), and in specific location types (surface, underground, water). * Performance Features: Spawners perform advanced checks to ensure Pokémon only appear in safe, accessible locations within their radius. * Performance Features: A full suite of commands and an intuitive GUI system allow for easy management, teleportation, and visualization of all spawners on the server. * Performance Features: Configure spawners to only be active when players are nearby and optionally force chunks to stay loaded to ensure consistent spawning in key areas.
---
Commands
The primary command is `/cobblespawners`, with the alias `/cs`.
| Command | Permission | Description | | :--- | :--- | :--- | | `/cs listgui` | `cobblespawners.listgui` | Opens the main GUI listing all spawners on the server for easy management. | | `/cs listgui <spawnerName>` | `cobblespawners.listgui` | Opens the configuration GUI for a specific spawner. | | `/cs givespawnerblock` | `cobblespawners.givespawnerblock` | Gives you a blank, configurable spawner block. | | `/cs givespawnerblockcopy <name>` | `cobblespawners.givespawnerblockcopy` | (Very Useful!) Gives you a copy of an existing spawner, including all its Pokémon and settings. | | `/cs rename <oldName> <newName>` | `cobblespawners.rename` | Renames an existing spawner. | | `/cs teleport <spawnerName>` | `cobblespawners.teleport` | Teleports you directly to the specified spawner's location. | | `/cs togglevisibility <name>` | `cobblespawners.togglevisibility` | Toggles the spawner block between being visible and invisible (air). | | `/cs toggleradius <spawnerName>` | `cobblespawners.toggleradius` | Toggles a particle visualization of the spawner's radius, visible only to you. | | `/cs killspawned <spawnerName>` | `cobblespawners.killspawned` | Kills all Pokémon currently spawned by a specific spawner. | | `/cs reload` | `cobblespawners.reload` | Reloads all configuration files from disk. | | `/cs inspectnearest` | `cobblespawners.inspectnearest` | Logs detailed information about the nearest Pokémon to the console, useful for debugging forms and aspects. | | `/cs addmon <spawner> <poke> [form]` | `cobblespawners.addmon` | Adds a Pokémon with default settings to a spawner via command. | | `/cs removemon <spawner> <poke> [form]` | `cobblespawners.removemon` | Removes a Pokémon from a spawner via command. |
---
Configuration
CobbleSpawners uses a multi-file configuration system located in `config/cobblespawners/`.
* `config.jsonc`: This file contains global settings that affect all spawners. * `/spawners/`: This sub-directory contains an individual `.jsonc` file for each spawner you place, allowing for incredibly detailed and organized configuration.
`config.jsonc` - Global Settings
This file controls the mod's overall behavior.
| Setting | Description | | :--- | :--- | | `debugEnabled` | Set to `true` for extremely detailed console logs, which is helpful for troubleshooting spawn conditions. | | `cullSpawnerPokemonOnServerStop` | If `true`, all Pokémon spawned by this mod will be removed when the server stops or restarts, preventing accumulation. |
Individual Spawner Settings (in `/spawners/`)
Each spawner has its own file, which you can manage via the in-game GUI (`/cs listgui <name>`) or by editing the file directly.
Key Spawner Options
| Setting | Description | | :--- | :--- | | `spawnTimerTicks` | The delay in game ticks (20 ticks = 1 second) between spawn attempts. | | `spawnLimit` | The maximum number of Pokémon that can be active from this spawner at one time. | | `spawnAmountPerSpawn` | The number of Pokémon to attempt to spawn each time the timer completes. | | `requirePlayerInRange` | If `true`, the spawner will only activate if a player is within the `playerActivationRange`. | | `forceChunkLoading` | If `true`, the spawner will keep its surrounding chunks loaded, ensuring it works even if no players are nearby. Ideal for automated arenas or world landmarks. |
Pokémon Entry Options
For each Pokémon you add to a spawner, you get access to a massive range of customization:
| Setting | Description | | :--- | :--- | | `spawnChanceType` | Determines how spawn chances are calculated. `allowHeldItemsOnSpawn` means all Pokémon in the spawner "compete" based on their weighted chance. `allowHeldItemsOnSpawn` means each Pokémon has its own individual percentage chance to spawn, allowing for multiple different species to spawn at once. | | `spawnSettings` | A section to control the conditions for spawning: `allowHeldItemsOnSpawn` (`ALL`, `DAY`, `NIGHT`), `allowHeldItemsOnSpawn` (`ALL`, `CLEAR`, `RAIN`, `THUNDER`), and `allowHeldItemsOnSpawn` (`ALL`, `SURFACE`, `UNDERGROUND`, `WATER`). | | `captureSettings` | Control if the Pokémon `allowHeldItemsOnSpawn` and if you want to `allowHeldItemsOnSpawn`, where you can define a list of required Poké Balls. | | `ivSettings` | If `allowHeldItemsOnSpawn` is true, you can set a min/max range for all six IV stats. | | `evSettings` | If `allowHeldItemsOnSpawn` is true, you can define the exact EV yield players will receive for defeating the Pokémon. | | `heldItemsOnSpawn` | If `allowHeldItemsOnSpawn` is true, you can provide a list of item IDs and the percentage chance for the Pokémon to be holding each one. |