aboutsummaryrefslogtreecommitdiff
path: root/GuiTest/src
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2021-05-27 18:03:49 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2021-05-27 18:03:49 +0300
commitd52ec93090f68c80d49735d911f79e0de01990ee (patch)
tree6a7075614b55f87a99eab466331fd79abb3a2a20 /GuiTest/src
parent494e8a6d34bb47e2e6f5c4301d0dcb8863e45f23 (diff)
downloadLibGui-d52ec93090f68c80d49735d911f79e0de01990ee.tar.gz
LibGui-d52ec93090f68c80d49735d911f79e0de01990ee.tar.bz2
LibGui-d52ec93090f68c80d49735d911f79e0de01990ee.zip
Add title position property to GuiDescriptions
The new field is used for both fullscreen and normal screens. Also fixes titles being incorrectly positioned by default.
Diffstat (limited to 'GuiTest/src')
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java b/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java
index 82188d2..d443770 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java
@@ -36,7 +36,7 @@ public class GuiBlockEntity extends BlockEntity implements ImplementedInventory,
@Override
public Text getDisplayName() {
- return new LiteralText(""); // no title
+ return new LiteralText("test title");
}
@Nullable