From bbbb36c7a7b44e16e6ac15ef9b56c32240695766 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 7 Jun 2022 17:35:56 +0200 Subject: [PATCH 1/3] Add 1.19 resources --- .../java/de/bluecolored/bluemap/core/MinecraftVersion.java | 3 ++- .../resourceExtensions/mc1_18/assets/minecraft/biomes.json | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java index 1e86945b..d01546ac 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java @@ -149,7 +149,8 @@ public enum MinecraftResource { MC_1_16 (new MinecraftVersion(1, 16), "mc1_16", "https://launcher.mojang.com/v1/objects/228fdf45541c4c2fe8aec4f20e880cb8fcd46621/client.jar"), MC_1_16_2 (new MinecraftVersion(1, 16, 2), "mc1_16", "https://launcher.mojang.com/v1/objects/653e97a2d1d76f87653f02242d243cdee48a5144/client.jar"), MC_1_17 (new MinecraftVersion(1, 17), "mc1_16", "https://launcher.mojang.com/v1/objects/1cf89c77ed5e72401b869f66410934804f3d6f52/client.jar"), - MC_1_18 (new MinecraftVersion(1, 18), "mc1_18", "https://launcher.mojang.com/v1/objects/020aa79e63a7aab5d6f30e5ec7a6c08baee6b64c/client.jar"); + MC_1_18 (new MinecraftVersion(1, 18), "mc1_18", "https://launcher.mojang.com/v1/objects/020aa79e63a7aab5d6f30e5ec7a6c08baee6b64c/client.jar"), + MC_1_19 (new MinecraftVersion(1, 19), "mc1_18", "https://launcher.mojang.com/v1/objects/c0898ec7c6a5a2eaa317770203a1554260699994/client.jar"); private final MinecraftVersion version; private final String resourcePrefix; 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 9b422c98..ce2778ce 100644 --- a/BlueMapCore/src/main/resourceExtensions/mc1_18/assets/minecraft/biomes.json +++ b/BlueMapCore/src/main/resourceExtensions/mc1_18/assets/minecraft/biomes.json @@ -36,6 +36,13 @@ "grasscolor": "#6A7039", "foliagecolor": 6975545 }, + "minecraft:mangrove_swamp": { + "humidity": 0.9, + "temp": 0.8, + "watercolor": "#3A7A6A", + "grasscolor": "#6A7039", + "foliagecolor": "#8DB127" + }, "minecraft:forest": { "humidity": 0.8, "temp": 0.7, From 9685d26f95b33f77d0950af70df9e9cfb96bf030 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 7 Jun 2022 17:36:57 +0200 Subject: [PATCH 2/3] Push version --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 7a8332e8..97691be9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false -coreVersion=1.7.2 +coreVersion=1.7.3 From a53b3daa28460ebfd2e3b3e96032c5e19b459d35 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Tue, 7 Jun 2022 21:26:47 +0200 Subject: [PATCH 3/3] Fix latest-version still being 1.18 (whoops) --- .../main/java/de/bluecolored/bluemap/core/MinecraftVersion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java index d01546ac..1d047b38 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/MinecraftVersion.java @@ -38,7 +38,7 @@ public class MinecraftVersion implements Comparable { private static final Pattern VERSION_REGEX = Pattern.compile("(?:(?\\d+)\\.(?\\d+))(?:\\.(?\\d+))?(?:\\-(?:pre|rc)\\d+)?"); - public static final MinecraftVersion LATEST_SUPPORTED = new MinecraftVersion(1, 18, 0); + public static final MinecraftVersion LATEST_SUPPORTED = new MinecraftVersion(1, 19, 0); public static final MinecraftVersion EARLIEST_SUPPORTED = new MinecraftVersion(1, 13); private final int major, minor, patch;