Class SpawnInfoPokemon
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.pokemon.SpawnInfoPokemon
SpawnInfo
for spawning Pokémon entities.
https://pixelmonmod.com/wiki/index.php?title=Better_Spawner/Spawn_Info/Pokémon
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
anticondition, chance, compositeCondition, condition, groupSpawnSettings, GSON, locationTypes, percentage, rarity, rarityMultipliers, requiredSpace, set, spawnInfoTypes, stringLocationTypes, tags, typeID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Calculates the amount of space that would be required for this Pokémon to spawn based off its size.construct
(AbstractSpawner spawner, SpawnLocation spawnLocation) Constructs aSpawnAction
based on the information in this SpawnInfo, theAbstractSpawner
, and theSpawnLocation
.getForm()
void
onImport()
void
Sets the primary Pokémon spec then calculates the required space.toString()
Gets the display String for use in /checkspawns.Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
calculateNominalRarity, fits, getAdjustedRarity, onExport
-
Field Details
-
TYPE_ID_POKEMON
- See Also:
-
species
-
form
-
minLevel
public int minLevel -
maxLevel
public int maxLevel -
spawnSpecificShinyRate
-
spawnSpecificBossRate
-
spawnSpecificPokerusRate
-
heldItems
-
-
Constructor Details
-
SpawnInfoPokemon
public SpawnInfoPokemon()
-
-
Method Details
-
onImport
public void onImport() -
setPokemon
Sets the primary Pokémon spec then calculates the required space. -
calculateRequiredSpace
public void calculateRequiredSpace()Calculates the amount of space that would be required for this Pokémon to spawn based off its size. -
construct
Description copied from class:SpawnInfo
Constructs aSpawnAction
based on the information in this SpawnInfo, theAbstractSpawner
, and theSpawnLocation
. -
getPokemonSpec
-
getSpecies
-
getForm
-
toString
Description copied from class:SpawnInfo
Gets the display String for use in /checkspawns.
-