|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
static |
If != 0 for a given item type (F:Terraria.Item.type), then that item will spawn with F:Terraria.Item.timeSinceItemSpawned set to the retrieved value.
If == 0 for a given item type, then that item is eligible for spawn protection, which massively decreases F:Terraria.Item.timeSinceItemSpawned to prevent natural despawning.
Defaults to 0.
Items with non-zero values in this set are extremely common drops and thus should be despawned first if the item cap is reached.
Definition at line 165 of file ItemID.cs.
Referenced by Terraria.WorldGen.EligibleForSpawnProtection(), and Terraria.Item.NewItem_Inner().