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

add item pickup animations

This commit is contained in:
p2r3
2025-08-30 20:48:01 +03:00
parent d9888f2e0f
commit a824c2d63b
4 changed files with 63 additions and 2 deletions

View File

@@ -67,6 +67,12 @@
// If defined, enables flight for all players. As a side-effect, allows
// players to sprint when starving.
// #define ENABLE_PLAYER_FLIGHT
// If defined, enables the item pickup animation when mining a block/
// Does not affect how item pickups work! Items from broken blocks still
// get placed directly in the inventory, this is just an animation.
// Relatively inexpensive, though requires sending a few more packets
// every time a block is broken.
#define ENABLE_PICKUP_ANIMATION
// If defined, logs unrecognized packet IDs
// #define DEV_LOG_UNKNOWN_PACKETS