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 Info/NPC

From Pixelmon Wiki

SpawnInfoNPC are SpawnInfo for the general NPC. For NPC trainers, it is better to use SpawnInfoTrainer.

These are the properties available when a SpawnInfo has "typeID": "npc":

Property label Type of value Description
"name" Any of the following: "Trainer","ChattingNPC","Relearner","Tutor","Trader","Shopkeeper","NurseJoy". The type of NPC to spawn. The properties of the NPC will be generated automatically.

Note: This is potentially going to be removed and replaced with specific SpawnInfo types for each type of NPC in future.

Example:

{
    "name": "Relearner",
    "stringLocationTypes": [
        "Land"
    ],
    "condition": {
        "stringBiomes": [
            "plains",
            "ice_plains",
            "mountainous"
        ]
    },
    "rarityMultipliers": [
        {
            "multiplier": 0.5,
            "condition": {
                "stringBiomes": [
                    "ice_plains"
                ]
            }
        }
    ],
    "typeID": "npc",
    "rarity": 50
}

© 2014 - 2020 Pixelmon Mod