Modifier and Type | Field and Description |
---|---|
Stats |
form |
java.util.ArrayList<JsonItemStack> |
heldItems |
int |
maxLevel |
int |
minLevel |
java.lang.Float |
spawnSpecificBossRate |
java.lang.Float |
spawnSpecificPokerusRate |
java.lang.Float |
spawnSpecificShinyRate |
Species |
species |
static java.lang.String |
TYPE_ID_POKEMON |
anticondition, chance, compositeCondition, condition, groupSpawnSettings, GSON, locationTypes, percentage, rarity, rarityMultipliers, requiredSpace, set, spawnInfoTypes, stringLocationTypes, tags, typeID
Constructor and Description |
---|
SpawnInfoPokemon() |
Modifier and Type | Method and Description |
---|---|
void |
calculateRequiredSpace()
Calculates the amount of space that would be required for this Pokémon to spawn based off its size.
|
SpawnAction<PixelmonEntity> |
construct(AbstractSpawner spawner,
SpawnLocation spawnLocation)
Constructs a
SpawnAction based on the information in this SpawnInfo, the AbstractSpawner , and the SpawnLocation . |
Stats |
getForm() |
PokemonSpecification |
getPokemonSpec() |
Species |
getSpecies() |
void |
onImport() |
void |
setPokemon(PokemonSpecification spec)
Sets the primary Pokémon spec then calculates the required space.
|
java.lang.String |
toString()
Gets the display String for use in /checkspawns.
|
calculateNominalRarity, fits, getAdjustedRarity, onExport
public static final java.lang.String TYPE_ID_POKEMON
public transient Species species
public transient Stats form
public int minLevel
public int maxLevel
public java.lang.Float spawnSpecificShinyRate
public java.lang.Float spawnSpecificBossRate
public java.lang.Float spawnSpecificPokerusRate
public java.util.ArrayList<JsonItemStack> heldItems
public void setPokemon(PokemonSpecification spec)
public void calculateRequiredSpace()
public SpawnAction<PixelmonEntity> construct(AbstractSpawner spawner, SpawnLocation spawnLocation)
SpawnInfo
SpawnAction
based on the information in this SpawnInfo, the AbstractSpawner
, and the SpawnLocation
.public PokemonSpecification getPokemonSpec()
public Species getSpecies()
public Stats getForm()