|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Drops a cache previously created using M:Terraria.Item.StartCachingType(System.Int32).
If no cache of t exists, nothing happens.
| reason | The source of the dropped cache. |
| pos | The position to drop the cache in world coordinates. |
| spread | The random spread of the dropped items in world coordinates. |
| t | The item type (F:Terraria.Item.type) to drop. |
| stopCaching | If true, then t will no longer be cached, allowing future drops to spawn as normal. |
Definition at line 1198 of file Item.cs.
References Terraria.Item.Item(), Terraria.Item.cachedItemSpawnsByType, Terraria.Item.maxStack, Terraria.Item.NewItem(), and Terraria.Item.SetDefaults().
Referenced by Terraria.Wiring.MassWireOperationInner().
Here is the call graph for this function:
Here is the caller graph for this function: