getTileEntity

abstract fun getTileEntity(location: Location): TileEntity

Gets the TileEntity at that Location or null if there isn't one.

Return

The TileEntity at that Location or null if there isn't one.