java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnAction<NPCTrainer>
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.npcs.trainers.SpawnActionNPCTrainer

public class SpawnActionNPCTrainer extends SpawnAction<NPCTrainer>
SpawnAction for NPCTrainer trainers.
  • Field Details

    • trainerType

      public String trainerType
  • Constructor Details

  • Method Details

    • createEntity

      protected NPCTrainer 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 class SpawnAction<NPCTrainer>