• NPC Class Documentation
  • Fields and Properties
  • Static Fields
  • tModLoader Only
  • Methods
  • public static int NewNPC(int X, int Y, int Type, int Start = 0, float ai0 = 0f, float ai1 = 0f, float ai2 = 0f, float ai3 = 0f, int Target = 255)
  • public static bool AnyNPCs(int Type)
  • public static int CountNPCS(int Type)
  • public static int FindFirstNPC(int Type)
  • public static void SpawnOnPlayer(int plr, int Type)
  • tModLoader Only
  • public GlobalNPC GetGlobalNPC(Mod mod, string name)
  • public T GetGlobalNPC<T>(Mod mod) where T : GlobalNPC
  • public T GetGlobalNPC<T>() where T : GlobalNPC
  • public void CloneDefaults(int type)