Definition at line 40418 of file Player.cs.
40419 {
40421 {
40422 return;
40423 }
40425 if (type >= 1874 && type <= 1877)
40426 {
40427 type -= 1873;
40429 {
40436 {
40439 }
40440 NetMessage.SendTileSquare(-1,
num,
num2);
40441 }
40442 }
40443 else if (type >= 1878 && type <= 1883)
40444 {
40445 type -= 1877;
40447 {
40454 {
40457 }
40458 NetMessage.SendTileSquare(-1,
num3,
num4);
40459 }
40460 }
40461 else if (type >= 1884 && type <= 1894)
40462 {
40463 type -= 1883;
40465 {
40472 {
40475 }
40476 NetMessage.SendTileSquare(-1,
num5,
num6);
40477 }
40478 }
40479 else
40480 {
40482 {
40483 return;
40484 }
40485 type -= 1894;
40487 {
40494 {
40497 }
40498 NetMessage.SendTileSquare(-1,
num7,
num8);
40499 }
40500 }
40501 }
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
int height
The height of this Entity's hitbox, in pixels.
int tileBoost
Additional tile range provided by this tool or tile. Copper Pickaxe has a value of -1,...
int type
The Item ID of this item. The Item ID is a unique number assigned to each Item loaded into the game....
void ApplyItemTime(Item sItem, float multiplier=1f, bool? callUseItem=null)
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...
References Terraria.Player.ApplyItemTime(), Terraria.Player.blockRange, Terraria.WorldGen.checkXmasTreeDrop(), Terraria.Player.controlUseItem, Terraria.WorldGen.dropXmasTree(), Terraria.Entity.height, Terraria.Player.inventory, Terraria.Player.itemAnimation, Terraria.Player.ItemTimeIsZero, Terraria.Entity.position, Terraria.Player.selectedItem, Terraria.NetMessage.SendTileSquare(), Terraria.WorldGen.setXmasTree(), Terraria.Main.tile, Terraria.Item.tileBoost, Terraria.Player.tileRangeX, Terraria.Player.tileRangeY, Terraria.Player.tileTargetX, Terraria.Player.tileTargetY, Terraria.Item.type, and Terraria.Entity.width.
Referenced by Terraria.Player.PlaceThing().