java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnAction<NPCEntity>
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.npcs.SpawnActionNPC

public class SpawnActionNPC extends SpawnAction<NPCEntity>
SpawnAction for general NPC entities.
  • Field Details

  • Constructor Details

  • Method Details

    • createEntity

      protected NPCEntity 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<NPCEntity>