Examples of OptionalSlotRestrictedInput


Examples of appeng.container.slot.OptionalSlotRestrictedInput

    for (int zz = 0; zz < 3; zz++)
      for (int z = 0; z < 8; z++)
      {
        int iSLot = zz * 8 + z;
        addSlotToContainer( new OptionalSlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, UpgradeInventoryWrapper, this, iSLot, 187 + zz * 18,
            8 + 18 * z, iSLot, invPlayer ) );
      }
    /*
     * if ( supportCapacity() ) { for (int w = 0; w < 2; w++) for (int z = 0; z < 9; z++) addSlotToContainer( new
     * OptionalSlotFakeTypeOnly( inv, this, offset++, x, y, z, w, 1 ) );
View Full Code Here

Examples of appeng.container.slot.OptionalSlotRestrictedInput

          // if the bars changed an item was probably made, so just send shit!
          for (Object s : inventorySlots)
          {
            if ( s instanceof OptionalSlotRestrictedInput )
            {
              OptionalSlotRestrictedInput sri = (OptionalSlotRestrictedInput) s;
              icrafting.sendSlotContents( this, sri.slotNumber, sri.getStack() );
            }
          }
          ((EntityPlayerMP) icrafting).isChangingQuantityOnly = false;
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.