zombies/skeletons/creepers should not spawn in blocks if only one block is free, mob limit is changeable in server.properties, small tweaks to entity hitboxes

This commit is contained in:
GameHerobrine 2023-01-17 20:01:15 +03:00
parent 9677196135
commit c2e069ef08
5 changed files with 15 additions and 12 deletions

View file

@ -120,6 +120,7 @@ class ServerAPI{
"allow-flight" => false,
"spawn-animals" => true,
"spawn-mobs" => true,
"mobs-amount" => 50,
"gamemode" => SURVIVAL,
"hardcore" => false,
"pvp" => true,
@ -135,7 +136,7 @@ class ServerAPI{
]);
$this->parseProperties();
MobSpawner::$MOB_LIMIT = $this->getProperty("mobs-amount", 50);
//Load advanced properties
define("DEBUG", $this->getProperty("debug", 1));
define("ADVANCED_CACHE", $this->getProperty("enable-advanced-cache", false));