TileEntity.LocalTileEntityPrototype
Hierarchy
- Scriptable
- LocalTileEntityPrototype
Index
Properties
Properties
optionalcontainerEvents
Events of the container's client copy.
Type declaration
[eventName string]: (container: ItemContainer, window: UI.Window | UI.StandartWindow | UI.StandardWindow | UI.TabbedWindow | null, windowContent: UI.WindowContent | null, eventData: any) => void
Example of the client container event function.
optionalevents
Events that receive packets on the client side.
Type declaration
[packetName string]: (packetData: any, packetExtra: any) => void
Example of the client packet event function.
optionalloadsince: 2.0.2b29
Called when the client copy is created.
Type declaration
Returns void
optionaltick
Called every tick on client thread; you cannot set tick later if there is no function at all.
Type declaration
Returns void
optionalunloadsince: 2.0.2b29
Called on destroying the client copy.
Type declaration
Returns void
Interface passed to TileEntity.registerPrototype function as
clientproperty.