experimental hotbar changes (enabled by default)

This commit is contained in:
GameHerobrine 2024-08-24 16:24:34 +03:00
parent e81b2a0a1e
commit 40dfb144eb
3 changed files with 37 additions and 14 deletions

View file

@ -91,8 +91,10 @@ class PocketMinecraftServer{
"experimental-mob-ai" => false,
"force-20-tps" => false,
"enable-mob-pushing" => Living::$entityPushing,
"keep-chunks-loaded" => self::$KEEP_CHUNKS_LOADED
"keep-chunks-loaded" => self::$KEEP_CHUNKS_LOADED,
"use-experimental-hotbar" => Player::$experimentalHotbar
]);
Player::$experimentalHotbar = $this->extraprops->get("use-experimental-hotbar");
Player::$smallChunks = $this->extraprops->get("16x16x16_chunk_sending");
Living::$despawnMobs = $this->extraprops->get("despawn-mobs");
Living::$despawnTimer = $this->extraprops->get("mob-despawn-ticks");