Skip to content

Pokemon

Lemenok edited this page Feb 21, 2026 · 4 revisions

Pokemon are rolled into the Structure files and are listed out within the spawners. Pokemon can be configured to be as random or as specific as you may want. With EVs, IVs, form, and even Scale.

Keep in mind that "Random" also only applies to the Spawner, not the Pokemon within the Spawner. So for example, if the random Nature rolled is "Jolly" all Pokemon from that Cobblemon Trial Spawner will be Jolly, but another Spawner nearby may have a different nature. If there are enough requests, I may see if I can change this, so each Pokemon spawned is completely random. But it didn't seem worth the effort as of this time.


Here is a example JSON for a Pokemon with all fields:

Click To Expand:
{
   "species": "charcadet",
   "weight": 80,
   "form": "normal",
   "level": 20,
   "gender": "",
   "nature": "",
   "defaultEVs": [],
   "defaultIVs": [],
   "ability": "",
   "dynaMaxLevel": 0,
   "teraType": "bug",
   "isShiny": false,
   "scaleModifier": 1,
   "isUncatchable": true,
   "mustBeDefeatedInBattle": true
}

Here is the same example with the minimum required fields:

Click to Expand:
{
   "species": "charcadet",
   "weight": 80,
   "level": 20,
}

Here is a detailed breakdown of each field and what they do in the json:


species - string - (Required)

  • The name of the Pokemon.

weight - int - (Required)

  • The weight of the Pokemon determining the chance to spawn if there are multiple Pokemon listed in the spawn pool.

form - strings - (Optional) - Default: "normal"

  • The form of the Pokemon, this is used to set a Pokemon to a regional variant, mega, or gmax form.
  • Examples: "normal", "alolan", "mega", "gmax"

level - int - (Required)

  • The Level of the Pokemon when it is spawned by the Cobblemon Trial Spawner.

gender - string - (Optional) - Default: ""

  • The Gender of the Pokemon when it is spawned. If the Gender supplied doesn't exist, it will choose a random one.

nature - string - (Optional) - Default: ""

  • The Nature of the Pokemon when it is spawned. If the Nature supplied doesn't exist, it will choose a random one.

defaultEVs - list of ints - (Optional) - Default: []

  • The default EVs for Pokemon spawned. It must either be empty, or have 6 values. Otherwise the values will be ignored, Each value must be between 0 and 252, with the total not exceeding more then 510 cumulatively.
  • The order is HP, Attack, Defense, Sp Atk, Sp Def, Speed
  • Examples: [252,100,0,0,0,158], [], [0,10,0,0,40,0]

defaultIVs - list of ints - (Optional) - Default: ""

  • The default IVs for Pokemon spawned. It must either be empty, or have 6 values. Otherwise the values will be ignored. Each value must be between 0 and 31.
  • The order is HP, Attack, Defense, Sp Atk, Sp Def, Speed
  • Examples: [31,31,31,31,31,31], [], [0,10,0,0,15,0]

ability - string - (Optional) - Default: ""

  • The ability of the Pokemon spawned by the Cobblemon Trial Spawner. This does allow illegal abilities to be set, which I have left for fun interactions for boss Pokemon.

dynaMaxLevel - int - (Optional) - Default: 0

  • The level of Dynamax the Pokemon will have when it is spawned. Its range is between 0 and 10. Any value higher will cap at 10.

teraType - string - (Optional) - Default: ""

  • The Tera Type of the Pokemon will have when it is spawned.
  • Example: "fire", "electric", "stellar"

isShiny- boolean - (Optional) - Default: false

  • If the Pokemon spawned will be shiny.

scaleModifier - float - (Optional) - Default: 1

  • The scale of the Pokemon spawned. 2 would represent 2x the size.
  • Examples: 1, 1.3, 2.0

isUncatchable - boolean - (Required) - Default: true

  • If the Pokemon spawned can be catchable or not.

mustBeDefeatedInBattle - boolean - (Optional) - Default: false

  • If the Pokemon spawned can be damaged with weapons outside of battle.

isAggressive - boolean - (Optional) - Default: true

  • If the Pokemon spawned will be aggressive if Fight or Flight is installed.

Clone this wiki locally