public interface TileEntity extends DataHolder, Locatable
TileEntity is performing various actions, all methods
that are purely functional methods reside in the
customizable data associated with a
TileEntity is represented by
|Modifier and Type||Method and Description|
Gets the type of
Checks for whether the tile entity is currently valid or not.
Changes the validation of this tile entity.
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
Use this method to check if processing should be run on this
TileEntity. If it is valid, then processing can be run on it.
If not, then processing should wait until it becomes valid or is
void setValid(boolean valid)
If the tile entity is invalid, no processing will be done on this
TileEntity until it either becomes valid or is reset on the next
If the tile entity is valid, then processing can continue and this
TileEntity will not be reset on the next tick.
valid- True if the tile entity should be validated, or false if it should be invalidated
TileEntityArchetypefor use with
Schematics and placing the archetype in multiple locations.
TileEntity. Can be used as a simpler method of making them. Since this does not persist the data of this
TileEntity, it should not be used in place of a
BlockSnapshotwhere data is being safely cloned.