Class SpawnInfoNPCTrainer
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.npcs.trainers.SpawnInfoNPCTrainer
SpawnInfo
for spawning NPC trainers.
https://pixelmonmod.com/wiki/index.php?title=Better_Spawner/Spawn_Info/NPC/Trainer
-
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 TypeMethodDescriptionSpawnAction<? extends NPCTrainer>
construct
(AbstractSpawner spawner, SpawnLocation spawnLocation) Constructs aSpawnAction
based on the information in this SpawnInfo, theAbstractSpawner
, and theSpawnLocation
.int
int
int
int
toString()
Gets the display String for use in /checkspawns.Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
calculateNominalRarity, fits, getAdjustedRarity, onExport, onImport
-
Field Details
-
TYPE_ID_TRAINER
- See Also:
-
trainerType
-
name
-
possiblePokemon
-
guaranteedPokemon
-
greeting
-
winMessage
-
loseMessage
-
winMoney
public int winMoney -
bossTier
-
-
Constructor Details
-
SpawnInfoNPCTrainer
public SpawnInfoNPCTrainer()
-
-
Method Details
-
getMinLevel
public int getMinLevel() -
getMaxLevel
public int getMaxLevel() -
getMinPartySize
public int getMinPartySize() -
getMaxPartySize
public int getMaxPartySize() -
construct
public SpawnAction<? extends NPCTrainer> construct(AbstractSpawner spawner, SpawnLocation spawnLocation) Description copied from class:SpawnInfo
Constructs aSpawnAction
based on the information in this SpawnInfo, theAbstractSpawner
, and theSpawnLocation
. -
toString
Description copied from class:SpawnInfo
Gets the display String for use in /checkspawns.
-