mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
refactor use item handler
This commit is contained in:
@@ -34,6 +34,7 @@ uint32_t isCompostItem (uint16_t item);
|
||||
uint16_t getMiningResult (uint16_t held_item, uint8_t block);
|
||||
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 spawnMob (uint8_t type, short x, uint8_t y, short z, uint8_t health);
|
||||
void hurtEntity (int entity_id, int attacker_id, uint8_t damage_type, uint8_t damage);
|
||||
|
Reference in New Issue
Block a user