1using Microsoft.Xna.Framework;
110 for (
int i = 0; i < 58; i++)
260 AchievementsHelper.CurrentlyMining =
true;
266 AchievementsHelper.CurrentlyMining =
false;
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
static Tile GetTileSafely(Vector2 position)
void MineTheTileIfNecessary(int x, int y)
void PoundTrack(Point spot)
bool CanGetPastTile(int x, int y)
void TryDigging(Player player, Vector2 trackWorldPosition, int digDirectionX, int digDirectionY)
void ConsumeATrackItem(Player player)
bool DoTheTracksConnectProperly(Point tileCoordsOfFrontWheel, Point tileCoordsWeWantToReach)
bool CanConsumeATrackItem(Player player)
Item FindMinecartTrackItem(Player player)
static MinecartDiggerHelper Instance
static void GetExpectedDirections(Point startCoords, Point endCoords, out int? expectedStartLeft, out int? expectedStartRight, out int? expectedEndLeft, out int? expectedEndRight)
bool HasPickPower(Player player, int x, int y)
void CorrectTrackConnections(Point startCoords, Point endCoords)
void PlaceATrack(int x, int y)
bool AlreadyLeadsIntoWantedTrack(Point tileCoordsOfFrontWheel, Point tileCoordsWeWantToReach)
int stack
The current stack of the item. F:Terraria.Item.maxStack indicates the max possible stack.
void TurnToAir(bool fullReset=false)
int type
The Item ID of this item. The Item ID is a unique number assigned to each Item loaded into the game....
static double worldSurface
The y-coordinate of the top of the dirt layer, in tile coordinates. Corresponds to 0' on the Depth Me...
static int myPlayer
The index in F:Terraria.Main.player of this client's Player. If this is 255, this client is the ser...
static int netMode
Denotes the current network mode: 0 for single player client, 1 for multiplayer client,...
static bool FrameTrack(int i, int j, bool pound, bool mute=false)
static void TryFittingTileOrientation(Point tileCoords, int? expectedYOffsetForLeft, int? expectedYOffsetForRight)
static bool GetAreExpectationsForSidesMet(Point tileCoords, int? expectedYOffsetForLeft, int? expectedYOffsetForRight)
static void SendData(int msgType, int remoteClient=-1, int ignoreClient=-1, NetworkText text=null, int number=0, float number2=0f, float number3=0f, float number4=0f, int number5=0, int number6=0, int number7=0)
bool HasEnoughPickPowerToHurtTile(int x, int y)
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static bool PlaceTile(int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0)
static bool CanKillTile(int i, int j, SpecialKillTileContext context)
static int CheckTileBreakability(int x, int y)
static bool CheckTileBreakability2_ShouldTileSurvive(int x, int y)
ref ushort type
Legacy code, use P:Terraria.Tile.TileType instead.
bool active()
Legacy code, use P:Terraria.Tile.HasTile instead.
A data structure used for accessing information about tiles, walls, wires, and liquids at a single po...