• Item Class Documentation
  • Fields and Properties
  • Static Fields
  • tModLoader Only
  • Methods
  • public static int NewItem(int X, int Y, int Width, int Height, int Type, int Stack = 1, bool noBroadcast = false, int pfix = 0, bool noGrabDelay = false, bool reverseLookup = false)
  • public static int NewItem(Rectangle rectangle, int Type, int Stack = 1, bool noBroadcast = false, int prefixGiven = 0, bool noGrabDelay = false, bool reverseLookup = false)
  • tModLoader Only
  • public GlobalItem GetGlobalItem(Mod mod, string name)
  • public T GetGlobalItem<T>(Mod mod) where T : GlobalItem
  • public T GetGlobalItem<T>() where T : GlobalItem
  • public void CloneDefaults(int type)