2024-01-06 06:30:23 -05:00
|
|
|
extends LevelSource;
|
|
|
|
|
2024-01-31 23:44:04 -05:00
|
|
|
vtable 0x10fcf0;
|
2024-01-06 06:30:23 -05:00
|
|
|
|
|
|
|
method void saveLevelData() = 0xa2e94;
|
|
|
|
method void setTileAndData(int x, int y, int z, int id, int data) = 0xa38b4;
|
2024-01-22 03:13:54 -05:00
|
|
|
method void setTileAndDataNoUpdate(int x, int y, int z, int id, int data) = 0xa33d0;
|
2024-01-06 06:30:23 -05:00
|
|
|
method HitResult clip(uchar *param_1, uchar *param_2, bool clip_liquids, bool param_3) = 0xa3db0;
|
|
|
|
method void addParticle(std::string *particle, float x, float y, float z, float deltaX, float deltaY, float deltaZ, int count) = 0xa449c;
|
2024-01-07 02:59:04 -05:00
|
|
|
method Entity *getEntity(int id) = 0xa45a4;
|
|
|
|
method bool addEntity(Entity *entity) = 0xa7cbc;
|
2024-01-22 03:13:54 -05:00
|
|
|
method int getBrightness2(LightLayer *layer, int x, int y, int z) = 0xa3c70;
|
2024-01-22 22:59:38 -05:00
|
|
|
method void playSound(Entity *entity, std::string *name, float volume, float pitch) = 0xa42a8;
|
2024-03-08 18:03:19 -05:00
|
|
|
// Searches aabb for entities, ignores the entity "ignore", overwrites the same vector each time
|
|
|
|
method std::vector<Entity*> *getEntities(Entity *ignore, AABB *aabb) = 0xa5a4c;
|
2024-02-08 17:30:41 -05:00
|
|
|
// Searches aabb for entities of type type_id, adds then to buff, returns the number of entities added
|
|
|
|
method int getEntitiesOfType(int type_id, AABB *aabb, std::vector<Entity*> *buff) = 0xa612c;
|
|
|
|
// Searches aabb for entities of base type base_type, adds then to buff, returns the number of entities added
|
|
|
|
method int getEntitiesOfClass(int base_type, AABB *aabb, std::vector<Entity*> *buff) = 0xa6240;
|
2024-02-12 02:29:35 -05:00
|
|
|
// This will implicitly make the tile entity if the tile at x, y, z doesn't have one and is an EntityTile
|
|
|
|
method TileEntity *getTileEntity(int x, int y, int z) = 0xa55d4;
|
2024-03-08 18:03:19 -05:00
|
|
|
method void animateTick(int x, int y, int z) = 0xa5920;
|
2024-01-06 06:30:23 -05:00
|
|
|
|
2024-01-22 01:39:43 -05:00
|
|
|
virtual-method void tick() = 0x28;
|
|
|
|
virtual-method void updateSleepingPlayerList() = 0x2c;
|
|
|
|
virtual-method ChunkCache *createChunkSource() = 0x30;
|
|
|
|
|
2024-03-08 18:03:19 -05:00
|
|
|
property bool done_generating = 0x12;
|
2024-01-11 22:10:30 -05:00
|
|
|
property std::vector<Entity *> entities = 0x20;
|
2024-02-12 02:29:35 -05:00
|
|
|
property std::vector<TileEntity *> tileentities = 0x50;
|
2024-01-22 01:39:43 -05:00
|
|
|
property std::vector<Player *> players = 0x60;
|