From baf993e6d3f9fe560eafa27718c33d8c2bedce10 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Tue, 10 Aug 2021 11:06:12 +0300 Subject: Fix #130, bump version to 4.1.6 --- .../src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'GuiTest/src/main/java') 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") -- cgit