21400 {
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21442 {
21443 return;
21444 }
21446 if ((
float)Main.rand.Next(2, 12) <
Math.Abs(
velocity.X))
21447 {
21449 }
21450 if ((
float)Main.rand.Next(2, 12) <
velocity.Y)
21451 {
21453 }
21455 {
21456 Point point = (base.Bottom + Vector2.UnitY).ToTileCoordinates();
21457 Point
point2 = (base.BottomLeft + Vector2.UnitY).ToTileCoordinates();
21458 Point
point3 = (base.BottomRight + Vector2.UnitY).ToTileCoordinates();
21460 {
21462 }
21463 }
21465 {
21466 return;
21467 }
21475 for (
int i =
num; i <=
num2; i++)
21476 {
21477 for (
int j =
num3;
j <=
num3 + 1 && Main.tile[i,
j] !=
null;
j++)
21478 {
21480 {
21481 continue;
21482 }
21483 Rectangle
val =
new Rectangle(i * 16,
j * 16, 16, 16);
21484 if (((Rectangle)(
ref val)).Intersects(
rect))
21485 {
21488 {
21490 }
21491 NetMessage.SendData(13, -1, -1,
null,
whoAmI);
21492 }
21493 }
21494 }
21496 {
21497 return;
21498 }
21502 {
21504 {
21506 {
21508 if (Main.netMode == 1)
21509 {
21510 NetMessage.SendData(17, -1, -1,
null, 20,
k,
l);
21511 }
21512 }
21513 }
21514 }
21515 }
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[] CrackedBricks