deferred block updates: falling sand

This commit is contained in:
2025-09-27 17:47:28 +02:00
parent 0cffb5a8f1
commit 5fcfe94449
6 changed files with 90 additions and 27 deletions

View File

@@ -44,6 +44,8 @@ void handlePlayerAction (PlayerData *player, int action, short x, short y, short
void handlePlayerUseItem (PlayerData *player, short x, short y, short z, uint8_t face);
void checkFluidUpdate (short x, uint8_t y, short z, uint8_t block);
void processBlockUpdate (short x, uint8_t y, short z, uint8_t block);
void deferBlockUpdate (short x, uint8_t y, short z, uint8_t awaitTicks);
void spawnMob (uint8_t type, short x, uint8_t y, short z, uint8_t health);
void interactEntity (int entity_id, int interactor_id);