56813 {
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837 bool flag = position.X / 16
f < (float)(Main.maxTilesX / 2);
56838 bool flag2 =
false;
56843 {
56845 }
56846 else
56847 {
56849 }
56850 _ = (float)Main.maxTilesY / 1200
f;
56851 _ = (float)Main.maxTilesY / 1200
f;
56852 new RandomTeleportationAttemptSettings
56853 {
56854 avoidAnyLiquid = true,
56855 avoidHurtTiles = true,
56856 attemptsBeforeGivingUp = 1000,
56857 maximumFallDistanceFromOrignalPoint = 300
56858 };
56859 Vector2
vector = Vector2.Zero;
56861 int startX = (
flag ? (Main.maxTilesX - 50) : 50);
56864 {
56866 startX = ((!
flag) ? (Main.maxTilesX - 50) : 50);
56868 {
56870 }
56871 }
56873 {
56875 }
56877 {
56881 if (Main.netMode == 2)
56882 {
56885 }
56886 }
56887 else
56888 {
56892 if (Main.netMode == 2)
56893 {
56896 }
56897 }
56898 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
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 RequestMagicConchTeleportPosition(Player player, int crawlOffsetX, int startX, out Point landingPoint)
void Teleport(Vector2 newPos, int Style=0, int extraInfo=0)