minecraft-pi-reborn/symbols/src/level/Level.def

25 lines
1.4 KiB
Modula-2
Raw Normal View History

2024-01-06 11:30:23 +00:00
extends LevelSource;
2024-02-01 04:44:04 +00:00
vtable 0x10fcf0;
2024-01-06 11:30:23 +00:00
method void saveLevelData() = 0xa2e94;
method void setTileAndData(int x, int y, int z, int id, int data) = 0xa38b4;
2024-01-22 08:13:54 +00:00
method void setTileAndDataNoUpdate(int x, int y, int z, int id, int data) = 0xa33d0;
2024-01-06 11:30:23 +00: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 07:59:04 +00:00
method Entity *getEntity(int id) = 0xa45a4;
method bool addEntity(Entity *entity) = 0xa7cbc;
2024-01-22 08:13:54 +00:00
method int getBrightness2(LightLayer *layer, int x, int y, int z) = 0xa3c70;
2024-01-23 03:59:38 +00:00
method void playSound(Entity *entity, std::string *name, float volume, float pitch) = 0xa42a8;
// 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-01-06 11:30:23 +00:00
2024-01-22 06:39:43 +00:00
virtual-method void tick() = 0x28;
virtual-method void updateSleepingPlayerList() = 0x2c;
virtual-method ChunkCache *createChunkSource() = 0x30;
2024-01-12 03:10:30 +00:00
property std::vector<Entity *> entities = 0x20;
2024-01-22 06:39:43 +00:00
property std::vector<Player *> players = 0x60;