예제 #1
0
 public void setSlot(inventory attachedInventory, int SlotID, container attachedContainer)
 {
     this.SlotID            = SlotID;
     this.attachedContainer = attachedContainer;
     myStack          = attachedInventory.getStackInSlot(SlotID);
     inventoryManager = inventoryManager.INSTANCE;
     updateSlot();
 }