|
bool | ContainsItems () |
|
void | Draw (int tileLeftX, int tileTopY) |
|
void | FixLoadedData () |
|
override TileEntity | GenerateInstance () |
|
override string | GetItemGamepadInstructions (int slot=0) |
|
override bool | IsTileValidForEntity (int x, int y) |
|
override void | LoadData (TagCompound tag) |
| Allows you to load custom data that you have saved for this tile entity.
Try to write defensive loading code that won't crash if something's missing. More...
|
|
override void | NetPlaceEntityAttempt (int x, int y) |
|
override void | NetReceive (BinaryReader reader) |
| Receives custom data sent in the NetSend hook. Called while receiving tile data (!lightReceive) and when MessageID.TileEntitySharing is received (lightReceive). Note that this is called on a new instance that will replace the existing instance at the Position, if any. ID is not necessarily assigned yet when this is called. Only called on the client. More...
|
|
override void | NetSend (BinaryWriter writer) |
| Allows you to send custom data for this tile entity between client and server, which will be handled in NetReceive.
Called while sending tile data (!lightSend) and when MessageID.TileEntitySharing is sent (lightSend).
Only called on the server. More...
|
|
override void | OnInventoryDraw (Player player, SpriteBatch spriteBatch) |
|
override void | OnPlayerUpdate (Player player) |
|
override bool | OverrideItemSlotHover (Item[] inv, int context=0, int slot=0) |
|
override bool | OverrideItemSlotLeftClick (Item[] inv, int context=0, int slot=0) |
|
override void | ReadExtraData (BinaryReader reader, bool networkSend) |
|
void | ReadItem (int itemIndex, BinaryReader reader, bool dye) |
|
override void | RegisterTileEntityID (int assignedID) |
|
override void | SaveData (TagCompound tag) |
| Allows you to save custom data for this tile entity.
NOTE: The provided tag is always empty by default, and is provided as an argument only for the sake of convenience and optimization.
NOTE: Try to only save data that isn't default values. More...
|
|
override string | ToString () |
|
override bool | TryGetItemGamepadOverrideInstructions (Item[] inv, int context, int slot, out string instruction) |
|
override void | WriteExtraData (BinaryWriter writer, bool networkSend) |
|
void | WriteItem (int itemIndex, BinaryWriter writer, bool dye) |
|
virtual TileEntity | GenerateInstance () |
|
virtual string | GetItemGamepadInstructions (int slot=0) |
|
virtual bool | IsTileValidForEntity (int x, int y) |
|
virtual void | LoadData (TagCompound tag) |
| Allows you to load custom data that you have saved for this tile entity.
Try to write defensive loading code that won't crash if something's missing. More...
|
|
virtual void | NetPlaceEntityAttempt (int x, int y) |
|
virtual void | NetReceive (BinaryReader reader) |
| Receives custom data sent in the NetSend hook. Called while receiving tile data (!lightReceive) and when MessageID.TileEntitySharing is received (lightReceive). Note that this is called on a new instance that will replace the existing instance at the Position, if any. ID is not necessarily assigned yet when this is called. Only called on the client. More...
|
|
virtual void | NetSend (BinaryWriter writer) |
| Allows you to send custom data for this tile entity between client and server, which will be handled in NetReceive.
Called while sending tile data (!lightSend) and when MessageID.TileEntitySharing is sent (lightSend).
Only called on the server. More...
|
|
virtual void | OnInventoryDraw (Player player, SpriteBatch spriteBatch) |
|
virtual void | OnPlayerUpdate (Player player) |
|
virtual bool | OverrideItemSlotHover (Item[] inv, int context=0, int slot=0) |
|
virtual bool | OverrideItemSlotLeftClick (Item[] inv, int context=0, int slot=0) |
|
virtual void | ReadExtraData (BinaryReader reader, bool networkSend) |
|
virtual void | RegisterTileEntityID (int assignedID) |
|
virtual void | SaveData (TagCompound tag) |
| Allows you to save custom data for this tile entity.
NOTE: The provided tag is always empty by default, and is provided as an argument only for the sake of convenience and optimization.
NOTE: Try to only save data that isn't default values. More...
|
|
virtual bool | TryGetItemGamepadOverrideInstructions (Item[] inv, int context, int slot, out string instruction) |
|
virtual void | Update () |
| Allows logic to execute every game update for this placed Tile Entity. Called on each placed Tile Entity. This hook is not called for multiplayer clients. The ID.MessageID.TileEntitySharing network message will need be used to keep clients in sync if necessary. More...
|
|
virtual void | WriteExtraData (BinaryWriter writer, bool networkSend) |
|