Examples of SlotFakeTypeOnly


Examples of appeng.container.slot.SlotFakeTypeOnly

    for (int y = 0; y < 7; y++)
    {
      for (int x = 0; x < 9; x++)
      {
        if ( y < 2 )
          addSlotToContainer( new SlotFakeTypeOnly( config, y * 9 + x, xo + x * 18, yo + y * 18 ) );
        else
          addSlotToContainer( new OptionalSlotFakeTypeOnly( config, this, y * 9 + x, xo, yo, x, y, y - 2 ) );
      }
    }

View Full Code Here

Examples of appeng.container.slot.SlotFakeTypeOnly

    UpgradeInventoryWrapper = new Upgrades();// Platform.isServer() ? new Upgrades() : new AppEngInternalInventory(
                          // null, 3 * 8 );

    for (int w = 0; w < 7; w++)
      for (int z = 0; z < 9; z++)
        addSlotToContainer( new SlotFakeTypeOnly( inv, offset++, x + z * 18, y + w * 18 ) );

    for (int zz = 0; zz < 3; zz++)
      for (int z = 0; z < 8; z++)
      {
        int iSLot = zz * 8 + z;
View Full Code Here

Examples of appeng.container.slot.SlotFakeTypeOnly

    int x = 80;
    int y = 40;
    setupUpgrades();

    IInventory inv = upgradeable.getInventoryByName( "config" );
    addSlotToContainer( new SlotFakeTypeOnly( inv, 0, x, y ) );

    if ( supportCapacity() )
    {
      addSlotToContainer( new OptionalSlotFakeTypeOnly( inv, this, 1, x, y, -1, 0, 1 ) );
      addSlotToContainer( new OptionalSlotFakeTypeOnly( inv, this, 2, x, y, 1, 0, 1 ) );
View Full Code Here

Examples of appeng.container.slot.SlotFakeTypeOnly

      addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 2, 187, 8 + 18 * 2, invPlayer )).setNotDraggable() );
    if ( availableUpgrades() > 3 )
      addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 3, 187, 8 + 18 * 3, invPlayer )).setNotDraggable() );

    IInventory inv = upgradeable.getInventoryByName( "config" );
    addSlotToContainer( new SlotFakeTypeOnly( inv, 0, x, y ) );
  }
View Full Code Here

Examples of appeng.container.slot.SlotFakeTypeOnly

    for (int y = 0; y < 7; y++)
    {
      for (int x = 0; x < 9; x++)
      {
        if ( y < 2 )
          addSlotToContainer( new SlotFakeTypeOnly( config, y * 9 + x, xo + x * 18, yo + y * 18 ) );
        else
          addSlotToContainer( new OptionalSlotFakeTypeOnly( config, this, y * 9 + x, xo, yo, x, y, y - 2 ) );
      }
    }

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.