2024-04-03 03:19:12 -04:00
|
|
|
vtable 0x10a548;
|
|
|
|
|
2024-01-22 22:59:38 -05:00
|
|
|
virtual-method void remove() = 0x10;
|
2024-04-02 15:03:38 -07:00
|
|
|
// The difference between move and moveTo is that move is relative and moveTo is absolute
|
|
|
|
virtual-method void move(float xo, float yo, float zo) = 0x18;
|
|
|
|
virtual-method void moveTo(float x, float y, float z, float yaw, float pitch) = 0x1c;
|
2024-01-21 18:24:06 -05:00
|
|
|
virtual-method void tick() = 0x34;
|
2024-03-08 18:03:19 -05:00
|
|
|
virtual-method float getBrightness(float param_1) = 0x64;
|
2024-02-07 06:47:46 +00:00
|
|
|
virtual-method bool interact(Player *with) = 0x6c;
|
2024-02-08 17:30:41 -05:00
|
|
|
virtual-method void playerTouch(Player *player) = 0x70;
|
2024-02-07 06:47:46 +00:00
|
|
|
virtual-method bool isPlayer() = 0x94;
|
2024-01-06 06:30:23 -05:00
|
|
|
virtual-method bool hurt(Entity *attacker, int damage) = 0xa4;
|
2024-02-07 06:47:46 +00:00
|
|
|
// See https://mcpirevival.miraheze.org/wiki/Minecraft:_Pi_Edition_Complete_Entity_List for these two
|
2024-01-07 02:59:04 -05:00
|
|
|
virtual-method int getEntityTypeId() = 0xdc;
|
2024-02-07 06:47:46 +00:00
|
|
|
virtual-method int getCreatureBaseType() = 0xe0;
|
|
|
|
virtual-method bool isMob() = 0xe8;
|
|
|
|
virtual-method bool isItemEntity() = 0xec;
|
|
|
|
// HangingEntity is a painting
|
|
|
|
virtual-method bool isHangingEntity() = 0xf0;
|
|
|
|
// The owner entity id for arrows/throwables, else 0
|
|
|
|
virtual-method int getAuxData() = 0xf4;
|
2024-01-22 22:59:38 -05:00
|
|
|
|
2024-01-06 06:30:23 -05:00
|
|
|
property float x = 0x4;
|
|
|
|
property float y = 0x8;
|
|
|
|
property float z = 0xc;
|
2024-01-21 18:24:06 -05:00
|
|
|
property int id = 0x1c;
|
2024-01-22 22:59:38 -05:00
|
|
|
property Level *level = 0x24;
|
2024-01-06 06:30:23 -05:00
|
|
|
property float old_x = 0x28;
|
|
|
|
property float old_y = 0x2c;
|
|
|
|
property float old_z = 0x30;
|
2024-01-22 01:39:43 -05:00
|
|
|
property float vel_x = 0x34;
|
|
|
|
property float vel_y = 0x38;
|
|
|
|
property float vel_z = 0x3c;
|
2024-01-21 18:24:06 -05:00
|
|
|
property float yaw = 0x40;
|
|
|
|
property float pitch = 0x44;
|
2024-01-06 06:30:23 -05:00
|
|
|
property float old_yaw = 0x48;
|
|
|
|
property float old_pitch = 0x4c;
|
2024-02-08 19:33:44 -05:00
|
|
|
property AABB hitbox = 0x50;
|
2024-02-15 23:02:44 -05:00
|
|
|
property float height_offset = 0x68;
|
2024-02-12 18:31:05 -05:00
|
|
|
property int fire_timer = 0xa0;
|
2024-01-22 22:59:38 -05:00
|
|
|
property int renderer_id = 0xa8;
|
2024-01-21 18:24:06 -05:00
|
|
|
property bool on_ground = 0xb2;
|
2024-03-18 19:44:17 -04:00
|
|
|
property bool pending_removal = 0xb8;
|
2024-01-21 18:24:06 -05:00
|
|
|
property bool freeze_physics = 0xb9;
|
2024-03-08 18:03:19 -05:00
|
|
|
property float fall_distance = 0xac;
|