diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-05-27 18:03:49 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-05-27 18:03:49 +0300 |
commit | d52ec93090f68c80d49735d911f79e0de01990ee (patch) | |
tree | 6a7075614b55f87a99eab466331fd79abb3a2a20 /GuiTest/src | |
parent | 494e8a6d34bb47e2e6f5c4301d0dcb8863e45f23 (diff) | |
download | LibGui-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.java | 2 |
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 |