Interface IJobSpawner


public interface IJobSpawner
  • Method Summary

    Modifier and Type Method Description
    void removeAllSpawned()  
    IEntityLivingBase spawnEntity​(int i)
    Npc needs to be attacking something or be set to Despawn Spawns On Target Lost: No, otherwise it will despawn right away
  • Method Details

    • spawnEntity

      IEntityLivingBase spawnEntity​(int i)
      Npc needs to be attacking something or be set to Despawn Spawns On Target Lost: No, otherwise it will despawn right away
      Parameters:
      i - The entity going to be spawned (0-5)
      Returns:
      Returns spawned entity
    • removeAllSpawned

      void removeAllSpawned()