Package appeng.container.slot

Examples of appeng.container.slot.SlotOutput


    addSlotToContainer( top = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.INSCRIBER_PLATE, ti, 0, 45, 16, invPlayer ) );
    addSlotToContainer( bottom = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.INSCRIBER_PLATE, ti, 1, 45, 62, invPlayer ) );
    addSlotToContainer( middle = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.INSCRIBER_INPUT, ti, 2, 63, 39, invPlayer ) );

    addSlotToContainer( new SlotOutput( ti, 3, 113, 40, -1 ) );

    bindPlayerInventory( ip, 0, getHeight() - /* height of player inventory */82 );

  }
View Full Code Here


    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ORE, grinder, 1, 12 + 18, 17, invPlayer ) );
    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ORE, grinder, 2, 12 + 36, 17, invPlayer ) );

    addSlotToContainer( new SlotInaccessible( grinder, 6, 80, 40 ) );

    addSlotToContainer( new SlotOutput( grinder, 3, 112, 63, 2 * 16 + 15 ) );
    addSlotToContainer( new SlotOutput( grinder, 4, 112 + 18, 63, 2 * 16 + 15 ) );
    addSlotToContainer( new SlotOutput( grinder, 5, 112 + 36, 63, 2 * 16 + 15 ) );

    bindPlayerInventory( ip, 0, 176 - /* height of player inventory */82 );
  }
View Full Code Here

    securityBox = (TileSecurity) monitorable;

    addSlotToContainer( configSlot = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.BIOMETRIC_CARD, securityBox.configSlot, 0, 37, -33, ip ) );

    addSlotToContainer( wirelessIn = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ENCODABLE_ITEM, wirelessEncoder, 0, 212, 10, ip ) );
    addSlotToContainer( wirelessOut = new SlotOutput( wirelessEncoder, 1, 212, 68, -1 ) );

    bindPlayerInventory( ip, 0, 0 );
  }
View Full Code Here

    offX = 122;
    offY = 17;
    for (int y = 0; y < 3; y++)
      for (int x = 0; x < 2; x++)
        addSlotToContainer( new SlotOutput( cells, 6 + x + y * 2, offX + x * 18, offY + y * 18, SlotRestrictedInput.PlacableItemType.STORAGE_CELLS.IIcon ) );

    IInventory upgrades = upgradeable.getInventoryByName( "upgrades" );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 0, 187, 8 + 0, invPlayer )).setNotDraggable() );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 1, 187, 8 + 18, invPlayer )).setNotDraggable() );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 2, 187, 8 + 18 * 2, invPlayer )).setNotDraggable() );
View Full Code Here

    if ( Platform.isServer() )
      network = spatialIOPort.getGridNode( ForgeDirection.UNKNOWN ).getGrid();

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.SPATIAL_STORAGE_CELLS, spatialIOPort, 0, 52, 48, invPlayer ) );
    addSlotToContainer( new SlotOutput( spatialIOPort, 1, 113, 48, SlotRestrictedInput.PlacableItemType.SPATIAL_STORAGE_CELLS.IIcon ) );

    bindPlayerInventory( ip, 0, 197 - /* height of player inventory */82 );
  }
View Full Code Here

    offX = 126;
    offY = 16;

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ENCODED_CRAFTING_PATTERN, mac, 10, offX, offY, invPlayer ) );
    addSlotToContainer( new SlotOutput( mac, 9, offX, offY + 32, -1 ) );

    offX = 122;
    offY = 17;

    IInventory upgrades = upgradeable.getInventoryByName( "upgrades" );
View Full Code Here

  public ContainerCondenser(InventoryPlayer ip, TileCondenser condenser) {
    super( ip, condenser, null );
    this.condenser = condenser;

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.TRASH, condenser, 0, 51, 52, ip ) );
    addSlotToContainer( new SlotOutput( condenser, 1, 105, 52, -1 ) );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.STORAGE_COMPONENT, condenser.getInternalInventory(), 2, 101, 26, ip )).setStackLimit( 1 ) );

    bindPlayerInventory( ip, 0, 197 - /* height of player inventory */82 );
  }
View Full Code Here

TOP

Related Classes of appeng.container.slot.SlotOutput

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.