mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
rewrite sand ticking
This commit is contained in:
@@ -32,6 +32,7 @@ uint8_t makeBlockChange (short x, uint8_t y, short z, uint8_t block);
|
||||
|
||||
uint8_t isInstantlyMined (PlayerData *player, uint8_t block);
|
||||
uint8_t isColumnBlock (uint8_t block);
|
||||
uint8_t isFallingBlock (uint8_t block);
|
||||
uint8_t isPassableBlock (uint8_t block);
|
||||
uint8_t isPassableSpawnBlock (uint8_t block);
|
||||
uint8_t isReplaceableBlock (uint8_t block);
|
||||
@@ -43,9 +44,10 @@ void bumpToolDurability (PlayerData *player);
|
||||
void handlePlayerAction (PlayerData *player, int action, short x, short y, short z);
|
||||
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 processBlockUpdate (short x, uint8_t y, short z, uint8_t block, short update_kind);
|
||||
void updateXZNeighbors (short x, uint8_t y, short z, short update_kind);
|
||||
void updateXYZNeighbors (short x, uint8_t y, short z, short update_kind);
|
||||
void deferBlockUpdate (short x, uint8_t y, short z, uint8_t await_ticks, short update_kind);
|
||||
|
||||
void spawnMob (uint8_t type, short x, uint8_t y, short z, uint8_t health);
|
||||
void interactEntity (int entity_id, int interactor_id);
|
||||
|
Reference in New Issue
Block a user