Definition at line 34464 of file Player.cs.
34465 {
34469 {
34472 }
34473 for (
int i = 0; i <
adjTile.Length; i++)
34474 {
34477 }
34490 {
34492 {
34493 if (Main.tile[
j,
k].active())
34494 {
34496 switch (Main.tile[
j,
k].type)
34497 {
34498 case 77:
34499 case 302:
34501 break;
34502 case 133:
34505 break;
34506 case 134:
34508 break;
34509 case 354:
34510 case 469:
34511 case 487:
34513 break;
34514 case 355:
34518 break;
34519 }
34521 }
34523 {
34525 }
34527 {
34529 }
34531 {
34533 }
34535 {
34537 }
34538 }
34539 }
34540 if (!Main.playerInventory)
34541 {
34542 return;
34543 }
34546 {
34548 {
34550 break;
34551 }
34552 }
34554 {
34556 }
34558 {
34560 }
34562 {
34564 }
34566 {
34568 }
34570 {
34571 Recipe.FindRecipes();
34572 }
34573 }
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
int height
The height of this Entity's hitbox, in pixels.
static bool[] CountsAsWaterSource
Whether or not this tile counts as a water source for crafting purposes.
static bool[] CountsAsHoneySource
Whether or not this tile counts as a honey source for crafting purposes.
static bool[] CountsAsLavaSource
Whether or not this tile counts as a lava source for crafting purposes.
static bool[] CountsAsShimmerSource
Whether or not this tile counts as a shimmer source for crafting purposes.
static void AdjTiles(Player player, int type)
This serves as the central class from which tile-related functions are supported and carried out.
References Terraria.Player.adjHoney, Terraria.Player.adjLava, Terraria.Player.adjShimmer, Terraria.Player.adjTile, Terraria.ModLoader.TileLoader.AdjTiles(), Terraria.Player.adjWater, Terraria.Player.alchemyTable, Terraria.Player.ateArtisanBread, Terraria.ID.TileID.Sets.CountsAsHoneySource, Terraria.ID.TileID.Sets.CountsAsLavaSource, Terraria.ID.TileID.Sets.CountsAsShimmerSource, Terraria.ID.TileID.Sets.CountsAsWaterSource, Terraria.Recipe.FindRecipes(), Terraria.Entity.height, Terraria.Player.oldAdjHoney, Terraria.Player.oldAdjLava, Terraria.Player.oldAdjShimmer, Terraria.Player.oldAdjTile, Terraria.Player.oldAdjWater, Terraria.Main.playerInventory, Terraria.Entity.position, Terraria.Main.tile, and Terraria.Entity.width.
Referenced by Terraria.Player.Update().