From 283db1edc77209344888210c4b618595874707fe Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Thu, 24 Sep 2020 11:16:59 +0300 Subject: Add large slot to the test GUI description This was to debug #85 which doesn't actually seem to happen in 3.0.x. --- GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java b/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java index 9d638e2..b3e0c80 100644 --- a/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java +++ b/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java @@ -22,7 +22,10 @@ public class TestDescription extends SyncedGuiDescription { root.add(new WButton(new LiteralText("Button D")), 5, 5, 4, 1); root.add(new WTextField(new LiteralText("Type something...")), 0, 7, 5, 1); - root.add(createPlayerInventoryPanel(), 0, 9); + root.add(new WLabel(new LiteralText("Large slot:")), 0, 9); + root.add(WItemSlot.outputOf(blockInventory, 0), 4, 9); + + root.add(createPlayerInventoryPanel(), 0, 11); System.out.println(root.toString()); this.getRootPanel().validate(this); -- cgit