Tile Entities¶
TileEntityManager¶
You can get the TileEntityManager using the previously retrieved Nova instance.
Getting a TileEntity at a specific location¶
Getting a TileEntity at a specific location is done by calling the getTileEntityAt function of the TileEntityManager. The function either returns a TileEntity or null if there is no TileEntity at the specified location.
TileEntity¶
A TileEntity is a block that has internal logic and tick-based updates.
Getting the owner of a TileEntity¶
Getting the localized name of a TileEntity¶
Using the NovaBlock of a TileEntity, you can get the name of a TileEntity.
For this example, we'll get the english name of a Pulverizer.
Getting the drops of a TileEntity¶
These drops include all items in the TileEntity's inventory and the TileEntity itself if includeSelf is set to true.