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
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalculates the amount of space that would be required for this Pokémon to spawn based off its size.construct(AbstractSpawner spawner, SpawnLocation spawnLocation) Constructs aSpawnActionbased on the information in this SpawnInfo, theAbstractSpawner, and theSpawnLocation.getForm()voidonImport()voidSets 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:SpawnInfoConstructs aSpawnActionbased on the information in this SpawnInfo, theAbstractSpawner, and theSpawnLocation. -
getPokemonSpec
-
getSpecies
-
getForm
-
toString
Description copied from class:SpawnInfoGets the display String for use in /checkspawns.
-