Any other user-defined methods and properties
Called when player uses some item on a TileEntity
Client TileEntity prototype copy
Any other user-defined methods and properties
Events of the container's client copy
Example of the client container event function
Events that receive packets on the client side
Example of the client packet event function
Called when the client copy is created
Called every tick on client thread
Called on destroying the client copy
Events of the container on the server side
Example of the server container event function
Called when a TileEntity is created
Default data values, will be initially added to TileEntity.data field
Occurs when the TileEntity is being destroyed
Occurs when a block of the TileEntity is being destroyed. See Callback.DestroyBlockFunction for details
Events that receive packets on the server side
Example of the server packet event function. 'this.sendResponse' method is only available here.
Called to get the UI.IWindow object for the current TileEntity. The window is then opened within TileEntity.container when the player clicks it
Called on client side, returns the window to open
Called on server side and returns UI name to open on click
Called when a TileEntity is initialised in the world
Occurs when a projectile entity hits the TileEntity. See Callback.ProjectileHitFunction for details
Occurs when the TileEntity should handle redstone signal. See Callback.RedstoneSignalFunction for details
Called when more liquid is required
Called every tick and should be used for all the updates of the TileEntity
Use ItemContainer that supports multiplayer
Generated using TypeDoc
Interface passed to TileEntity.registerPrototype function