From bd913b0dc6235d294dd9c3d846be3f5b2e10096f Mon Sep 17 00:00:00 2001 From: modmuss50 <modmuss50@gmail.com> Date: Thu, 27 Apr 2023 12:06:25 +0100 Subject: [PATCH] Fix FontManagerMixin target. --- .../loader/client/FontManagerMixin.java | 3 ++- gradle.properties | 20 +++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/mixin/resource/loader/client/FontManagerMixin.java b/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/mixin/resource/loader/client/FontManagerMixin.java index cac075d76..3e14c9006 100644 --- a/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/mixin/resource/loader/client/FontManagerMixin.java +++ b/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/mixin/resource/loader/client/FontManagerMixin.java @@ -18,12 +18,13 @@ package net.fabricmc.fabric.mixin.resource.loader.client; import org.spongepowered.asm.mixin.Mixin; +import net.minecraft.client.font.FontManager; import net.minecraft.util.Identifier; import net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener; import net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys; -@Mixin(targets = "net/minecraft/client/font/FontManager$1") +@Mixin(FontManager.class) public abstract class FontManagerMixin implements IdentifiableResourceReloadListener { @Override public Identifier getFabricId() { diff --git a/gradle.properties b/gradle.properties index ad1ab0abf..e0dc35cf9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2560M org.gradle.parallel=true fabric.loom.multiProjectOptimisation=true -version=0.79.1 +version=0.79.2 minecraft_version=23w17a yarn_version=+build.2 loader_version=0.14.19 @@ -20,28 +20,28 @@ fabric-command-api-v1-version=1.2.28 fabric-command-api-v2-version=2.2.7 fabric-commands-v0-version=0.2.45 fabric-containers-v0-version=0.1.57 -fabric-content-registries-v0-version=4.0.2 +fabric-content-registries-v0-version=4.0.3 fabric-crash-report-info-v1-version=0.2.16 -fabric-data-generation-api-v1-version=12.1.1 +fabric-data-generation-api-v1-version=12.1.2 fabric-dimensions-v1-version=2.1.46 fabric-entity-events-v1-version=1.5.16 fabric-events-interaction-v0-version=0.4.44 fabric-events-lifecycle-v0-version=0.2.55 fabric-game-rule-api-v1-version=1.0.35 -fabric-gametest-api-v1-version=1.2.5 +fabric-gametest-api-v1-version=1.2.6 fabric-item-api-v1-version=2.1.20 -fabric-item-group-api-v1-version=4.0.2 +fabric-item-group-api-v1-version=4.0.3 fabric-key-binding-api-v1-version=1.0.34 fabric-keybindings-v0-version=0.2.32 fabric-lifecycle-events-v1-version=2.2.16 -fabric-loot-api-v2-version=1.1.31 -fabric-loot-tables-v1-version=1.1.35 +fabric-loot-api-v2-version=1.1.32 +fabric-loot-tables-v1-version=1.1.36 fabric-message-api-v1-version=5.1.2 -fabric-mining-level-api-v1-version=2.1.41 +fabric-mining-level-api-v1-version=2.1.42 fabric-models-v0-version=0.3.31 fabric-networking-api-v1-version=1.3.4 fabric-networking-v0-version=0.3.44 -fabric-object-builder-api-v1-version=11.0.0 +fabric-object-builder-api-v1-version=11.0.1 fabric-particles-v1-version=1.0.24 fabric-recipe-api-v1-version=1.0.11 fabric-registry-sync-v0-version=2.2.1 @@ -53,7 +53,7 @@ fabric-rendering-fluids-v1-version=3.0.22 fabric-rendering-v0-version=1.1.43 fabric-rendering-v1-version=3.0.2 fabric-resource-conditions-api-v1-version=2.3.2 -fabric-resource-loader-v0-version=0.11.3 +fabric-resource-loader-v0-version=0.11.4 fabric-screen-api-v1-version=2.0.2 fabric-screen-handler-api-v1-version=1.3.23 fabric-sound-api-v1-version=1.0.10