From 652b3ca967e4c9412486c097726b9942ef3d65e2 Mon Sep 17 00:00:00 2001 From: glisco Date: Sat, 15 Jun 2024 23:37:56 +0200 Subject: [PATCH] update to owo 0.12.10 and 1.21 proper, bump version --- gradle.properties | 12 ++++++------ src/main/java/io/wispforest/lavender/Lavender.java | 2 +- src/main/resources/fabric.mod.json | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gradle.properties b/gradle.properties index 7f0f013..96da684 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,27 +4,27 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/develop minecraft_base_version=1.21 - minecraft_version=1.21-pre4 - yarn_mappings=1.21-pre4+build.3 + minecraft_version=1.21 + yarn_mappings=1.21+build.2 loader_version=0.15.11 # Mod Properties - mod_version = 0.1.9-pre.1 + mod_version = 0.1.10 maven_group = io.wispforest archives_base_name = lavender # Dependencies # check this on https://fabricmc.net/develop - fabric_version=0.100.0+1.21 + fabric_version=0.100.1+1.21 # https://maven.shedaniel.me/me/shedaniel/RoughlyEnoughItems-fabric/ rei_version=15.0.728 # https://maven.wispforest.io/io/wispforest/owo-lib/ - owo_version=0.12.8-alpha.7+1.21 + owo_version=0.12.10+1.21 # https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu - modmenu_version=11.0.0-beta.1 + modmenu_version=11.0.0-rc.2 # https://maven.wispforest.io/io/wispforest/lavender-md/core/ lavender_md_version=0.1.1+1.21 diff --git a/src/main/java/io/wispforest/lavender/Lavender.java b/src/main/java/io/wispforest/lavender/Lavender.java index f8db534..894c06d 100644 --- a/src/main/java/io/wispforest/lavender/Lavender.java +++ b/src/main/java/io/wispforest/lavender/Lavender.java @@ -39,7 +39,7 @@ public void onInitialize() { CommandRegistrationCallback.EVENT.register(LavenderCommands::register); - PayloadTypeRegistry.playS2C().register(WorldUUIDPayload.ID, CodecUtils.packetCodec(WorldUUIDPayload.ENDEC)); + PayloadTypeRegistry.playS2C().register(WorldUUIDPayload.ID, CodecUtils.toPacketCodec(WorldUUIDPayload.ENDEC)); ServerPlayConnectionEvents.JOIN.register((handler, sender, server) -> { sender.sendPacket(new WorldUUIDPayload(server.getOverworld().getPersistentStateManager().getOrCreate(WorldUUIDState.TYPE, "lavender_world_id").id)); diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index b52ab45..8239f88 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -31,9 +31,9 @@ "depends": { "fabricloader": ">=0.15.0", "fabric": "*", - "minecraft": ">=1.20.3", - "owo-lib": ">=0.12.0", - "lavender-md": ">=0.1.0", + "minecraft": ">=1.21", + "owo-lib": ">=0.12.10", + "lavender-md": ">=0.1.1", "lavender-md-owo-ui": "*" } }