From c2404712713b7c4745082f8f11681e80f817ea95 Mon Sep 17 00:00:00 2001 From: "Luis C.M" <42545778+c0508383@users.noreply.github.com> Date: Sat, 18 Mar 2023 03:04:46 -0500 Subject: [PATCH] ICustomGui: -Added IDs to custom GUI slots. --- java/noppes/npcs/api/gui/ICustomGui.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java/noppes/npcs/api/gui/ICustomGui.java b/java/noppes/npcs/api/gui/ICustomGui.java index eb9e186..ed93d2d 100644 --- a/java/noppes/npcs/api/gui/ICustomGui.java +++ b/java/noppes/npcs/api/gui/ICustomGui.java @@ -52,10 +52,16 @@ public interface ICustomGui { ILine addLine(int id, int x1, int y1, int x2, int y2); + @Deprecated IItemSlot addItemSlot(int x, int y); + @Deprecated IItemSlot addItemSlot(int x, int y, IItemStack itemStack); + IItemSlot addItemSlot(int id, int x, int y); + + IItemSlot addItemSlot(int id, int x, int y, IItemStack itemStack); + void showPlayerInventory(int x, int y); ICustomGuiComponent getComponent(int id);