diff --git a/java/noppes/npcs/api/gui/ICustomGui.java b/java/noppes/npcs/api/gui/ICustomGui.java index ed93d2d..e6bba34 100644 --- a/java/noppes/npcs/api/gui/ICustomGui.java +++ b/java/noppes/npcs/api/gui/ICustomGui.java @@ -26,8 +26,12 @@ public interface ICustomGui { void setDoesPauseGame(boolean pauseGame); + boolean doesPauseGame(); + void setBackgroundTexture(String resourceLocation); + String getBackgroundTexture(); + IButton addButton(int id, String text, int x, int y); IButton addButton(int id, String text, int x, int y, int width, int height); @@ -52,16 +56,16 @@ public interface ICustomGui { ILine addLine(int id, int x1, int y1, int x2, int y2); + IItemSlot addItemSlot(int id, int x, int y); + + IItemSlot addItemSlot(int id, int x, int y, IItemStack itemStack); + @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);