diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-08-10 11:06:12 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-08-10 11:06:12 +0300 |
commit | baf993e6d3f9fe560eafa27718c33d8c2bedce10 (patch) | |
tree | 9a0d4794151656c49fbcbc95cc60d849187da984 /GuiTest/src/main | |
parent | 6851be1399c377d02f6fe52f667880578da9d7ef (diff) | |
download | LibGui-baf993e6d3f9fe560eafa27718c33d8c2bedce10.tar.gz LibGui-baf993e6d3f9fe560eafa27718c33d8c2bedce10.tar.bz2 LibGui-baf993e6d3f9fe560eafa27718c33d8c2bedce10.zip |
Fix #130, bump version to 4.1.64.1.6
Diffstat (limited to 'GuiTest/src/main')
-rw-r--r-- | GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java | 3 |
1 files changed, 3 insertions, 0 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 02b1452..8d6cb18 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 @@ -3,11 +3,13 @@ package io.github.cottonmc.test.client; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager; import net.fabricmc.fabric.api.client.screenhandler.v1.ScreenRegistry; +import net.minecraft.text.LiteralText; import io.github.cottonmc.cotton.gui.client.CottonClientScreen; import io.github.cottonmc.cotton.gui.client.CottonHud; import io.github.cottonmc.cotton.gui.client.CottonInventoryScreen; import io.github.cottonmc.cotton.gui.impl.modmenu.ConfigGui; +import io.github.cottonmc.cotton.gui.widget.WLabel; import io.github.cottonmc.test.LibGuiTest; import io.github.cottonmc.test.TestDescription; @@ -23,6 +25,7 @@ public class LibGuiTestClient implements ClientModInitializer { ); CottonHud.add(new WHudTest(), 10, -20, 10, 10); + CottonHud.add(new WLabel(new LiteralText("Test label")), 10, -30, 10, 10); ClientCommandManager.DISPATCHER.register( literal("libgui") |