forked from EXTERNAL/bareiron
implement chests
This commit is contained in:
@@ -41,6 +41,11 @@
|
||||
#define SCALE_MOVEMENT_UPDATES_TO_PLAYER_COUNT
|
||||
// If defined, calculates fluid flow when blocks are updated near fluids
|
||||
#define DO_FLUID_FLOW
|
||||
// If defined, allows players to craft and use chests.
|
||||
// Chests take up 15 block change slots each, require additional checks,
|
||||
// and use some terrible memory hacks to function. On some platforms, this
|
||||
// could cause bad performance or even crashes during gameplay.
|
||||
#define ALLOW_CHESTS
|
||||
// If defined, enables flight for all players
|
||||
#define ENABLE_PLAYER_FLIGHT
|
||||
|
||||
|
@@ -43,4 +43,6 @@ 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);
|
||||
void handleServerTick (int64_t time_since_last_tick);
|
||||
|
||||
void broadcastChestUpdate (int origin_fd, uint8_t *storage_ptr, uint16_t item, uint8_t count, uint8_t slot);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user