TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ cachedItemSpawnsByType

int [] Terraria.Item.cachedItemSpawnsByType = ItemID.Sets.Factory.CreateIntSet(-1)
static

The number of cached item spawns by type.
A value of -1 means that an item type is not being cached.
See M:Terraria.Item.StartCachingType(System.Int32) and M:Terraria.Item.DropCache(Terraria.DataStructures.IEntitySource,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Int32,System.Boolean) for more info.
Indexed by F:Terraria.Item.type.Defaults to -1.

Definition at line 102 of file Item.cs.

Referenced by Terraria.Item.DropCache(), Terraria.Item.NewItem_Inner(), Terraria.ModLoader.ItemLoader.ResizeArrays(), and Terraria.Item.StartCachingType().