mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 11:54:48 +00:00
Fixed custom gui slot behavior
This commit is contained in:
1 parent
c240471271
commit
da937ad6be
1 file changed
+8
-4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user