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 Condition

From Pixelmon Wiki
Revision as of 03:30, 10 January 2018 by Hiroku (talk | contribs) (Any biome option)

A SpawnCondition is the most important component of the Better Spawner system.

The properties of a SpawnCondition are as follows:

Property label Type of value Description
"times" List of any of the following: "ANY","DAWN","MORNING","DAY","MIDDAY","AFTERNOON","DUSK","NIGHT","MIDNIGHT". The times of the day that the entity may spawn.
"weathers" List of any of the following: "CLEAR","RAIN","STORM". The weather types which the entity may spawn in. Note that having RAIN will also allow spawning during a storm. Also note that in a cold biome, RAIN and STORM will be snow and snowstorm respectively.
"stringBiomes" List of any number of Biome IDs, e.g. "redwood_taiga_hills" or "any". All the biomes that the entity may spawn in. This supports modded biomes from mods such as Biomes O' Plenty.
"stringLocationTypes" List of any number of Better_Spawner/Location_Type names inside quotes. The possible locations the entity may spawn. A location only needs to satisfy one of these to spawn, and in the case of Pokémon spawning, the AI of the Pokémon may depend on the location.
"minX" Integer The smallest x world coordinate that the entity may spawn at.
"maxX" Integer The largest x world coordinate that the entity may spawn at.
"minY" Integer The smallest y world coordinate that the entity may spawn at.
"maxY" Integer The largest y world coordinate that the entity may spawn at.
"minZ" Integer The smallest z world coordinate that the entity may spawn at.
"maxZ" Integer The largest z world coordinate than the entity may spawn at.
"moonPhase" Integer from 0 to 7 The specific moon phase index for the entity to spawn. 0 represents a full moon.
"minLightLevel" Integer from 0 to 15 The minimum level of light for the entity to spawn.
"maxLightLevel" Integer from 0 to 15 The maximum level of light for the entity to spawn.

Note that with the exceptions of location and world times, all properties of a SpawnCondition are optional. If added as an anticondition to a SpawnInfo, passing the anticondition will prevent the spawn.

© 2012 - 2025 Pixelmon Mod