Class SpawnActionNPCTrainer
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnAction<NPCTrainer>
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.npcs.trainers.SpawnActionNPCTrainer
SpawnAction
for NPCTrainer
trainers.-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnAction
entity, spawnInfo, spawnLocation
-
Constructor Summary
ConstructorDescriptionSpawnActionNPCTrainer
(SpawnInfoNPCTrainer spawnInfo, SpawnLocation spawnLocation) -
Method Summary
Modifier and TypeMethodDescriptionprotected NPCTrainer
Creates the entity and returns the result.Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnAction
applyLocationMutations, doSpawn, getOrCreateEntity, setEntity
-
Field Details
-
trainerType
-
-
Constructor Details
-
SpawnActionNPCTrainer
-
-
Method Details
-
createEntity
Description copied from class:SpawnAction
Creates the entity and returns the result. Returning null if the spawn should fail is safe in default implementations.- Specified by:
createEntity
in classSpawnAction<NPCTrainer>
-