|
tModLoader v2023.01
A mod to make and play Terraria mods
|
Public Member Functions | |
| bool | CheckValidTile (int id, int x, int y) |
| IReadOnlyDictionary< int, TileEntity > | EnumerateEntities () |
| TileEntity | GenerateInstance (int id) |
| TileEntity | GetTileEntity< T > (int id) |
| Gets the base ModTileEntity object with the given id. This method will throw exceptions on failure. More... | |
| void | NetPlaceEntity (int id, int x, int y) |
| void | Register (TileEntity entity) |
| void | RegisterAll () |
| bool | TryGetTileEntity< T > (int id, out T tileEntity) |
| Attempts to get the base ModTileEntity object with the given id. More... | |
| TileEntity Terraria.DataStructures.TileEntitiesManager.GetTileEntity< T > | ( | int | id | ) |
Gets the base ModTileEntity object with the given id. This method will throw exceptions on failure.
| KeyNotFoundException |
| T | : | TileEntity | |
| T | : | _types | |
| T | : | id | |
| T | : | as | |
| T | : | T |
| bool Terraria.DataStructures.TileEntitiesManager.TryGetTileEntity< T > | ( | int | id, |
| out T | tileEntity | ||
| ) |
Attempts to get the base ModTileEntity object with the given id.
| T | : | TileEntity |