aboutsummaryrefslogtreecommitdiff
path: root/GuiTest
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-06-05 17:48:22 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-06-05 17:48:22 +0300
commit1910cba88af8a95ad0ce4373b460220297aad86b (patch)
treee9f55683618454c7f3937490a74438b730cd3c22 /GuiTest
parent58cbdd972d1d5ac403ec039f447c1ff66211ece2 (diff)
downloadLibGui-1910cba88af8a95ad0ce4373b460220297aad86b.tar.gz
LibGui-1910cba88af8a95ad0ce4373b460220297aad86b.tar.bz2
LibGui-1910cba88af8a95ad0ce4373b460220297aad86b.zip
1.16-pre2
- All Text usages apart from screen titles have been replaced with class_5348 - WLabel. and WText. getTextAt has been replaced by getTextStyleAt to match vanilla functionality - CottonInventoryScreen.drawForeground - Prevents vanilla from rendering the player inventory label (already rendered by us and not needed in every GUI) - The title is now rendered using the title coordinate fields like in vanilla
Diffstat (limited to 'GuiTest')
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/TestController.java2
-rw-r--r--GuiTest/src/main/resources/fabric.mod.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java b/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
index 267c49f..68905ef 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
@@ -23,7 +23,7 @@ public class TestController extends CottonInventoryController {
root.add(new WTextField(new LiteralText("Type something...")), 0, 7, 5, 1);
root.add(createPlayerInventoryPanel(), 0, 9);
-
+ System.out.println(root.toString());
this.getRootPanel().validate(this);
}
diff --git a/GuiTest/src/main/resources/fabric.mod.json b/GuiTest/src/main/resources/fabric.mod.json
index b514f2b..bd2416f 100644
--- a/GuiTest/src/main/resources/fabric.mod.json
+++ b/GuiTest/src/main/resources/fabric.mod.json
@@ -23,7 +23,7 @@
"depends": {
"fabricloader": ">=0.4.0",
"libgui": "*",
- "jankson": "2.x.x",
+ "jankson": "*",
"fabric": "*"
}
}