1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00

handle breaking columns of blocks

This commit is contained in:
p2r3
2025-08-21 00:41:20 +03:00
parent 48b03f9e04
commit b6b091f600
3 changed files with 62 additions and 22 deletions

View File

@@ -48,6 +48,8 @@ uint8_t clientSlotToServerSlot (int window_id, uint8_t slot);
uint8_t getBlockChange (short x, uint8_t y, short z);
void makeBlockChange (short x, uint8_t y, short z, uint8_t block);
uint16_t getMiningResult (int client_fd, uint8_t block);
uint16_t getMiningResult (PlayerData *player, uint8_t block);
uint8_t isInstantlyMined (PlayerData *player, uint8_t block);
void handlePlayerAction (PlayerData *player, int action, short x, short y, short z);
#endif