mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 23:25:07 +00:00
ICustomGui:
-Added IDs to custom GUI slots.
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user