Package forestry.core.gui.slots

Examples of forestry.core.gui.slots.SlotItemInventory


  protected void addSecuredSlot(IInventory other, int slot, int x, int y) {
    if (other.getStackInSlot(slot) != null && inventory.itemClass.isAssignableFrom(other.getStackInSlot(slot).getItem().getClass()))
      addSlot(new SlotLocked(other, slot, x, y));
    else
      addSlot(new SlotItemInventory(this, other, player, slot, x, y));
  }
View Full Code Here

TOP

Related Classes of forestry.core.gui.slots.SlotItemInventory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.