diff --git a/CHANGELOG.md b/CHANGELOG.md index 36c26e0b6..e1cf7f31d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,5 +9,6 @@ Put changelog here: - Adds `SaveToggle` annotation - Moved all field annotations for config syncing to `EntrySyncData` for easier use - Fixed a small bug with `Locked When Synced` fields syncing instead of remaining stagnant - - Added an additional tooltip to notify Server Operators and LAN Hosts when a config value will sync -- Moved most packets from channels to `FabricPacket`s + - Added a tooltip to notify Server Operators and LAN Hosts when a config value will sync +- Converted most packets from channels to `FabricPacket`s +- Improved compatibility of Overworld Biome API diff --git a/gradle.properties b/gradle.properties index 8a7f9d232..80c9fbf2d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ minecraft_version=1.20.1 quilt_mappings=1.20.1+build.23 parchment_mappings=1.20.1:2023.09.03 - loader_version=0.15.1 + loader_version=0.15.2 # Mod Properties mod_version = 1.5.2 @@ -27,7 +27,7 @@ fabric_api_version=0.91.0+1.20.1 fabric_kotlin_version=1.10.16+kotlin.1.9.21 # https://github.com/LlamaLad7/MixinExtras/releases - mixin_extras_version=0.3.1 + mixin_extras_version=0.3.2 toml4j_version=0.7.2 jankson_version=1.2.3 diff --git a/src/main/java/net/frozenblock/lib/item/mixin/bonemeal/BoneMealItemMixin.java b/src/main/java/net/frozenblock/lib/item/mixin/bonemeal/BoneMealItemMixin.java index b55705a46..1b5673a3e 100644 --- a/src/main/java/net/frozenblock/lib/item/mixin/bonemeal/BoneMealItemMixin.java +++ b/src/main/java/net/frozenblock/lib/item/mixin/bonemeal/BoneMealItemMixin.java @@ -45,7 +45,6 @@ public void useBonemeal(UseOnContext context, CallbackInfoReturnable void apply(Function, T> function, CallbackInfoReturnable> cir) { - cir.setReturnValue(OverworldBiomeData.withModdedBiomeEntries(cir.getReturnValue(), function)); + @ModifyReturnValue(method = "apply", at = @At("RETURN")) + private Climate.ParameterList apply(Climate.ParameterList original, Function, T> function) { + return OverworldBiomeData.withModdedBiomeEntries(original, function); } }