TileEntity

interface TileEntity

Functions

Link copied to clipboard
@NotNull
abstract fun getBlock(): @NotNull NovaBlock
Gets the NovaBlock of this TileEntity.
Link copied to clipboard
@NotNull
abstract fun getDrops(includeSelf: Boolean): @NotNull List<@NotNull ItemStack>
Retrieves a list of all ItemStacks this TileEntity would drop.
Link copied to clipboard
@NotNull
abstract fun getLocation(): @NotNull Location
Gets the Location of this TileEntity.
Link copied to clipboard
@NotNull
abstract fun getMaterial(): @NotNull NovaMaterial
Gets the material of this TileEntity.
Link copied to clipboard
@Nullable
abstract fun getOwner(): @Nullable OfflinePlayer
Gets the owner of this TileEntity.