From c79bd96706c5d0aba9a6272c3473510f0d2f2855 Mon Sep 17 00:00:00 2001 From: "Blue (Lukas Rieger)" Date: Sun, 21 Nov 2021 17:21:32 +0100 Subject: [PATCH 1/9] Fix implementation-string --- .../src/main/java/de/bluecolored/bluemap/fabric/FabricMod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations/fabric-1.18/src/main/java/de/bluecolored/bluemap/fabric/FabricMod.java b/implementations/fabric-1.18/src/main/java/de/bluecolored/bluemap/fabric/FabricMod.java index 302655d6..a9717c6d 100644 --- a/implementations/fabric-1.18/src/main/java/de/bluecolored/bluemap/fabric/FabricMod.java +++ b/implementations/fabric-1.18/src/main/java/de/bluecolored/bluemap/fabric/FabricMod.java @@ -78,7 +78,7 @@ public class FabricMod implements ModInitializer, ServerInterface { pluginInstance = new Plugin( MinecraftVersion.of(net.minecraft.MinecraftVersion.CURRENT.getReleaseTarget()), - "fabric-1.17", this); + "fabric-1.18", this); this.worldUUIDs = new ConcurrentHashMap<>(); this.eventForwarder = new FabricEventForwarder(this); From c681a36f3c3409bb227077ab2a691723d578a0f6 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Sat, 27 Nov 2021 23:30:52 +0100 Subject: [PATCH 2/9] Fix IndexOutOfBoundsException for LegacyBiomes with id 170 --- .../main/java/de/bluecolored/bluemap/core/mca/LegacyBiomes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/LegacyBiomes.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/LegacyBiomes.java index 902a8562..35330aa5 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/LegacyBiomes.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/LegacyBiomes.java @@ -109,7 +109,7 @@ public class LegacyBiomes { } public static String idFor(int legacyId) { - if (legacyId < 0 || legacyId > BIOME_IDS.length) legacyId = 0; + if (legacyId < 0 || legacyId >= BIOME_IDS.length) legacyId = 0; return BIOME_IDS[legacyId]; } From 65f906ab08b8e6e7ac5be377b611ab80fe5da815 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 30 Nov 2021 22:01:04 +0100 Subject: [PATCH 3/9] Update BlueMapVue --- BlueMapCommon/BlueMapVue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueMapCommon/BlueMapVue b/BlueMapCommon/BlueMapVue index 59e2cd41..cd2acb74 160000 --- a/BlueMapCommon/BlueMapVue +++ b/BlueMapCommon/BlueMapVue @@ -1 +1 @@ -Subproject commit 59e2cd41072946a8f64efb67d57b8374c466036f +Subproject commit cd2acb74660130db27511f24e67d01d8112a2443 From 2e44193883c8df10295db3a8da6a44e93b4e31b2 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 30 Nov 2021 22:18:28 +0100 Subject: [PATCH 4/9] Fix swamp biome grass color in 1.18 --- .../main/resourceExtensions/mc1_18/assets/minecraft/biomes.json | 1 + 1 file changed, 1 insertion(+) diff --git a/BlueMapCore/src/main/resourceExtensions/mc1_18/assets/minecraft/biomes.json b/BlueMapCore/src/main/resourceExtensions/mc1_18/assets/minecraft/biomes.json index 7f502091..9b422c98 100644 --- a/BlueMapCore/src/main/resourceExtensions/mc1_18/assets/minecraft/biomes.json +++ b/BlueMapCore/src/main/resourceExtensions/mc1_18/assets/minecraft/biomes.json @@ -33,6 +33,7 @@ "humidity": 0.9, "temp": 0.8, "watercolor": 6388580, + "grasscolor": "#6A7039", "foliagecolor": 6975545 }, "minecraft:forest": { From 7e0cb5788897924896e5c0614f86aa37bc49e3e1 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 30 Nov 2021 22:19:24 +0100 Subject: [PATCH 5/9] Add -do not change- warning to ip-config --- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- .../resources/de/bluecolored/bluemap/webserver.conf | 10 +++++++--- 8 files changed, 56 insertions(+), 24 deletions(-) diff --git a/implementations/cli/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/cli/src/main/resources/de/bluecolored/bluemap/webserver.conf index ca23be1f..ad6aa67d 100644 --- a/implementations/cli/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/cli/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -8,14 +8,18 @@ # Default is "web" webroot: "web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 diff --git a/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf index 6af072df..8c14fd9d 100644 --- a/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -13,14 +13,18 @@ enabled: true # Default is "bluemap/web" webroot: "bluemap/web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 diff --git a/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/webserver.conf index 6af072df..8c14fd9d 100644 --- a/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -13,14 +13,18 @@ enabled: true # Default is "bluemap/web" webroot: "bluemap/web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 diff --git a/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/webserver.conf index 6af072df..8c14fd9d 100644 --- a/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -13,14 +13,18 @@ enabled: true # Default is "bluemap/web" webroot: "bluemap/web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 diff --git a/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf index 6af072df..8c14fd9d 100644 --- a/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -13,14 +13,18 @@ enabled: true # Default is "bluemap/web" webroot: "bluemap/web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 diff --git a/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/webserver.conf index 6af072df..8c14fd9d 100644 --- a/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -13,14 +13,18 @@ enabled: true # Default is "bluemap/web" webroot: "bluemap/web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 diff --git a/implementations/spigot/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/spigot/src/main/resources/de/bluecolored/bluemap/webserver.conf index 6af072df..8c14fd9d 100644 --- a/implementations/spigot/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/spigot/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -13,14 +13,18 @@ enabled: true # Default is "bluemap/web" webroot: "bluemap/web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 diff --git a/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/webserver.conf b/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/webserver.conf index 6af072df..8c14fd9d 100644 --- a/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/webserver.conf +++ b/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/webserver.conf @@ -13,14 +13,18 @@ enabled: true # Default is "bluemap/web" webroot: "bluemap/web" -# The IP-Adress that the webserver binds to. -# Use "0.0.0.0" to bind to all available local adresses. +# The IP-Address that the webserver binds to. +# Use "0.0.0.0" to bind to all available local addresses. # If you only want to access it locally use "localhost". +# +# LEAVE THIS SETTING AS IT IS if you don't have a good reason to change it! +# The default setting (0.0.0.0) is working on almost all servers. +# # Default is "0.0.0.0" #ip: "localhost" #ip: "123.45.6.78" -# The port that the webserver listenes to. +# The port that the webserver listens to. # Default is 8100 port: 8100 From b0a5b5697550320025d0f07b5736d04816b03a85 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 30 Nov 2021 22:24:03 +0100 Subject: [PATCH 6/9] Set preconfigured ambient-light for overworlds to 0.1 --- .../cli/src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- .../src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- .../src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- .../src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- .../src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- .../src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- .../src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- .../src/main/resources/de/bluecolored/bluemap/render.conf | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/implementations/cli/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/cli/src/main/resources/de/bluecolored/bluemap/render.conf index 2d4770aa..927484fb 100644 --- a/implementations/cli/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/cli/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! diff --git a/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf index 0e7d8279..5a0ff02f 100644 --- a/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/fabric-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! diff --git a/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/render.conf index 0e7d8279..5a0ff02f 100644 --- a/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/fabric-1.17/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! diff --git a/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/render.conf index 0e7d8279..5a0ff02f 100644 --- a/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/fabric-1.18/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! diff --git a/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf index 0e7d8279..5a0ff02f 100644 --- a/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/forge-1.16.2/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! diff --git a/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/render.conf index 0e7d8279..5a0ff02f 100644 --- a/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/forge-1.17.1/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! diff --git a/implementations/spigot/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/spigot/src/main/resources/de/bluecolored/bluemap/render.conf index 1c1fc973..039d30f1 100644 --- a/implementations/spigot/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/spigot/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! diff --git a/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/render.conf b/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/render.conf index 0e7d8279..5a0ff02f 100644 --- a/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/render.conf +++ b/implementations/sponge-8.0.0/src/main/resources/de/bluecolored/bluemap/render.conf @@ -47,7 +47,7 @@ maps: [ # 0 is no ambient light, 1 is fully lighted. # Changing this value requires a re-render of the map. # Default is 0 - ambientLight: 0 + ambientLight: 0.1 # Defines the skylight level that the sky of the world is emitting. # This should always be equivalent to the maximum ingame sky-light for that world! From 0ac818d3eba50cfabd21df54ff5b7f4acf6da45c Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 30 Nov 2021 22:24:25 +0100 Subject: [PATCH 7/9] Push Version --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 10a44100..7a8332e8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false -coreVersion=1.7.1 +coreVersion=1.7.2 From 79b6319ec5e36e19d547d73d83eb474c14548f85 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 30 Nov 2021 22:56:12 +0100 Subject: [PATCH 8/9] Push BlueMapVue --- BlueMapCommon/BlueMapVue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueMapCommon/BlueMapVue b/BlueMapCommon/BlueMapVue index cd2acb74..ef7a66f8 160000 --- a/BlueMapCommon/BlueMapVue +++ b/BlueMapCommon/BlueMapVue @@ -1 +1 @@ -Subproject commit cd2acb74660130db27511f24e67d01d8112a2443 +Subproject commit ef7a66f8b5f73c73404ba3860916630e6ae96799 From 6186b16e8d7845f8dc455ce004090be9b95393f5 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Thu, 2 Dec 2021 14:10:14 +0100 Subject: [PATCH 9/9] Push BlueMapVue and remove wrong comment from code --- BlueMapCommon/BlueMapVue | 2 +- .../java/de/bluecolored/bluemap/core/mca/ChunkAnvil118.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/BlueMapCommon/BlueMapVue b/BlueMapCommon/BlueMapVue index ef7a66f8..13f60e6e 160000 --- a/BlueMapCommon/BlueMapVue +++ b/BlueMapCommon/BlueMapVue @@ -1 +1 @@ -Subproject commit ef7a66f8b5f73c73404ba3860916630e6ae96799 +Subproject commit 13f60e6ee0ba39759d662bba5ae750a5918b564b diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/ChunkAnvil118.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/ChunkAnvil118.java index c4ff5f91..3b2fab56 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/ChunkAnvil118.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/ChunkAnvil118.java @@ -267,7 +267,6 @@ public class ChunkAnvil118 extends MCAChunk { y = (y & 0xF) / 4; int biomeIndex = y * 16 + z * 4 + x; - // this.biomes.length == bits per biome -- because -> available longs * 64 (bits per long) / 64 (biomes per section, 4*4*4) long value = MCAMath.getValueFromLongArray(biomes, biomeIndex, bitsPerBiome); if (value >= biomePalette.length) { Logger.global.noFloodWarning("biomepalettewarning", "Got biome-palette value " + value + " but palette has size of " + biomePalette.length + "! (Future occasions of this error will not be logged)");