Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Better Spawner/Spawn Set

From Pixelmon Wiki

A Spawn Set is a grouping of SpawnInfo along with a few extra properties. The JSON files found when configuring spawns are all Spawn Sets.

The properties of a Spawn Set are:

Property label Type of value Description
"id" Text. The unique name of this set. It doesn't matter what the name is as long as it is unique to all other sets.
"setSpecificShinyRate" A decimal number greater than or equal to zero. A Pokémon shiny rate applied to any and all SpawnInfoPokemon in this set in the same format as the shiny rate in the Pixelmon config. That is, 1 divided by this number is the chance of it being shiny. If this value is 1, the Pokémon in this set are guaranteed to be shiny.
"setSpecificPokerusRate" A decimal number greater than or equal to zero. A Pokérus rate applied to any and all SpawnInfoPokemon in this set in the same format as the Pokérus rate in the Pixelmon config. That is, 1 divided by this number is the chance of it being infected with Pokérus. If this value is 1, the Pokémon in this set are guaranteed to have Pokérus.
"spawnInfos" A list of SpawnInfo. All of the possible spawns inside of this set.

Example:

{
    "id": "Feebas Line Fishing",
    "spawnInfos": [
        {
            "spec": {
                "name": "Feebas"
            },
            "stringLocationTypes": [
                "Good Rod"
            ],
            "minLevel": 5,
            "maxLevel": 17,
            "typeID": "pokemon",
            "heldItems": [
                {
                    "itemID": "pixelmon:prism_scale",
                    "percentChance": 5
                }
            ],
            "anticondition": {
                "stringBiomes": [
                    "oceanic",
                    "frozen_ocean",
                    "beaches"
                ]
            },
            "rarity": 30
        },
        {
            "spec": {
                "name": "Milotic"
            },
            "stringLocationTypes": [
                "Super Rod"
            ],
            "minLevel": 40,
            "maxLevel": 53,
            "typeID": "pokemon",
            "anticondition": {
                "stringBiomes": [
                    "oceanic",
                    "frozen_ocean",
                    "beaches"
                ]
            },
            "rarity": 10
        }
    ]
}

© 2012 - 2024 Pixelmon Mod