If the block on the specified coordinates is a TileEntity block and is not initialized, initializes it and returns created TileEntity object.
Optionalregion: BlockSourceTile if one was created, null otherwise.
Adding attached to block updatable, which is working like ordinary tile entity, except the fact that it registers in any case.
InternalOptionaladdToUpdate: booleanDestroys TileEntity, dropping it's container.
true if the it was destroyed successfully, false
otherwise.
Destroys TileEntity, dropping it's container.
true if the it was destroyed successfully, false
otherwise.
Destroys TileEntity, dropping it's container.
true if the it was destroyed successfully, false
otherwise.
If the block on the specified coordinates is a TileEntity, destroys it, dropping it's container.
Optionalregion: BlockSourceOptionalisDropAllowed: booleantrue if the it was destroyed successfully, false
otherwise.
Prototype by it's numeric block ID.
Optionalregion: BlockSourceA TileEntity on the specified coordinates or null if the block on the
coordinates is not it.
numeric block ID
true if the specified numeric block ID is a TileEntity
block ID, false otherwise.
Checks whether the TileEntity is in the loaded chunk or not.
to be verified
true if the chunk with TileEntity and some of the surrounding
chunks are loaded, false otherwise.
Registers block as a ticking tile entity.
numeric block ID to be used
a set of defining parameters behavior
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
TileEntity is a powerful mechanism that allows for creation of interactive blocks such as chests, furnaces, etc.