Fixed custom gui slot behavior

This commit is contained in:
Luis C.M committed 2023-03-18 15:52:50 -05:00
1 parent c240471271
commit da937ad6be
1 file changed
+8 -4
+8 -4
View File
@@ -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);