mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 21:22:57 +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
@@ -12,12 +12,14 @@ import noppes.npcs.client.gui.custom.GuiCustom;
|
||||
|
||||
public class CustomGuiSlot extends Slot {
|
||||
public boolean clientSide;
|
||||
public int slotNumber;
|
||||
public final int slotNumber;
|
||||
public final int guiSlotId;
|
||||
|
||||
public CustomGuiSlot(IInventory inventoryIn, int index, int xPosition, int yPosition, boolean clientSide) {
|
||||
public CustomGuiSlot(IInventory inventoryIn, int index, int guiSlotId, int xPosition, int yPosition, boolean clientSide) {
|
||||
super(inventoryIn, index, xPosition, yPosition);
|
||||
this.clientSide = clientSide;
|
||||
this.slotNumber = index;
|
||||
this.guiSlotId = guiSlotId;
|
||||
}
|
||||
|
||||
public void onSlotChanged() {
|
||||
|
||||
Reference in new issue
Block a user