tModLoader v2024.10
A mod to make and play Terraria mods
EntitySource_OverfullChest Class Reference

Used when attempting to add an item to a chest, but the chest is full so it spills into the world.
Only vanilla use is the gas trap. More...

Inherits AEntitySource_Tile.

Public Member Functions

 EntitySource_OverfullChest (int tileCoordsX, int tileCoordsY, Chest chest, string? context)
 
- Public Member Functions inherited from AEntitySource_Tile
 AEntitySource_Tile (int tileCoordsX, int tileCoordsY, string? context)
 

Properties

Chest Chest [get]
 
- Properties inherited from AEntitySource_Tile
string? Context [get]
 Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More...
 
Point TileCoords [get]
 
- Properties inherited from IEntitySource
string? Context [get]
 Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More...
 

Detailed Description

Used when attempting to add an item to a chest, but the chest is full so it spills into the world.
Only vanilla use is the gas trap.