diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2022-05-23 12:49:57 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2022-05-23 12:49:57 +0300 |
commit | 2d781ffa61655891fec9c91e8f60214271d01f7f (patch) | |
tree | cd9154c027704fd71c1330228490c6373021705d | |
parent | 8b44fc8a5a178c16641cecdbb5a6fd0f8e434fcd (diff) | |
download | LibGui-2d781ffa61655891fec9c91e8f60214271d01f7f.tar.gz LibGui-2d781ffa61655891fec9c91e8f60214271d01f7f.tar.bz2 LibGui-2d781ffa61655891fec9c91e8f60214271d01f7f.zip |
Update Fabric API
-rw-r--r-- | GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java | 6 | ||||
-rw-r--r-- | gradle.properties | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java b/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java index 94620af..c396a7f 100644 --- a/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java +++ b/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java @@ -2,8 +2,8 @@ package io.github.cottonmc.test.client; import com.mojang.brigadier.Command; import net.fabricmc.api.ClientModInitializer; -import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager; -import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource; +import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager; +import net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.ingame.HandledScreens; import net.minecraft.text.Text; @@ -20,7 +20,7 @@ import io.github.cottonmc.test.TestDescription; import java.util.function.Function; -import static net.fabricmc.fabric.api.client.command.v1.ClientCommandManager.literal; +import static net.fabricmc.fabric.api.client.command.v2.ClientCommandManager.literal; public class LibGuiTestClient implements ClientModInitializer { diff --git a/gradle.properties b/gradle.properties index 4c7bd65..3bac554 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ org.gradle.jvmargs=-Xmx1G archives_base_name = LibGui # Dependencies - fabric_version=0.52.4+1.19 + fabric_version=0.53.0+1.19 jankson_version=4.1.1+j1.2.1 modmenu_version=3.1.1 libninepatch_version=1.1.0 |