mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
implement mob despawning
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#define MAX_PLAYERS 16
|
||||
// How many mobs to allocate memory for
|
||||
#define MAX_MOBS (MAX_PLAYERS)
|
||||
// Manhattan distance at which mobs despawn
|
||||
#define MOB_DESPAWN_DISTANCE 256
|
||||
// Server game mode: 0 - survival; 1 - creative; 2 - adventure; 3 - spectator
|
||||
#define GAMEMODE 0
|
||||
// Max render distance, determines how many chunks to send
|
||||
|
Reference in New Issue
Block a user