ICustomGui:

-Added IDs to custom GUI slots.
This commit is contained in:
Luis C.M committed 2023-03-18 03:04:46 -05:00
1 parent 2c012f2693
commit 586c451f06
7 files changed
+52 -19

No files matched your search

@@ -13,12 +13,13 @@ public class ScriptGuiItemSlot extends ScriptGuiComponent implements IItemSlot {
public ScriptGuiItemSlot() {
}
public ScriptGuiItemSlot(int x, int y) {
public ScriptGuiItemSlot(int id, int x, int y) {
this.setID(id);
this.setPos(x, y);
}
public ScriptGuiItemSlot(int x, int y, IItemStack stack) {
this(x, y);
public ScriptGuiItemSlot(int id, int x, int y, IItemStack stack) {
this(id, x, y);
this.setStack(stack);
}