tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Tile_Entities.TEItemFrame Class Reference

Inherits TileEntity.

Public Member Functions

void DropItem ()
override TileEntity GenerateInstance ()
override bool IsTileValidForEntity (int x, int y)
override void LoadData (TagCompound tag)
override void NetPlaceEntityAttempt (int x, int y)
override void NetReceive (BinaryReader reader)
override void NetSend (BinaryWriter writer)
override void ReadExtraData (BinaryReader reader, bool networkSend)
override void RegisterTileEntityID (int assignedID)
override void SaveData (TagCompound tag)
override string ToString ()
override void WriteExtraData (BinaryWriter writer, bool networkSend)

Static Public Member Functions

static int Find (int x, int y)
static bool FitsItemFrame (Item i)
static int Hook_AfterPlacement (int x, int y, int type=395, int style=0, int direction=1, int alternate=0)
static void Kill (int x, int y)
static void NetPlaceEntity (int x, int y)
static void OnPlayerInteraction (Player player, int clickX, int clickY)
static int Place (int x, int y)
static void PlaceItemInFrame (Player player, int x, int y)
static void TryPlacing (int x, int y, Item item, int stack)
static bool ValidTile (int x, int y)

Public Attributes

Item item