Package appeng.client.me

Examples of appeng.client.me.ClientDCInternalInv


    for (int x = 0; x < LINES_ON_PAGE && ex + x < lines.size(); x++)
    {
      Object lineObj = lines.get( ex + x );
      if ( lineObj instanceof ClientDCInternalInv )
      {
        ClientDCInternalInv inv = (ClientDCInternalInv) lineObj;

        GL11.glColor4f( 1, 1, 1, 1 );
        int width = inv.inv.getSizeInventory() * 18;
        this.drawTexturedModalRect( offsetX + 7, offsetY + offset, 7, 139, width, 18 );
      }
View Full Code Here


    for (int x = 0; x < LINES_ON_PAGE && ex + x < lines.size(); x++)
    {
      Object lineObj = lines.get( ex + x );
      if ( lineObj instanceof ClientDCInternalInv )
      {
        ClientDCInternalInv inv = (ClientDCInternalInv) lineObj;
        for (int z = 0; z < inv.inv.getSizeInventory(); z++)
        {
          inventorySlots.inventorySlots.add( new SlotDisconnected( inv, z, z * 18 + 8, 1 + offset ) );
        }
      }
View Full Code Here

      {
        try
        {
          long id = Long.parseLong( key.substring( 1 ), Character.MAX_RADIX );
          NBTTagCompound invData = in.getCompoundTag( key );
          ClientDCInternalInv current = getById( id, invData.getLong( "sortBy" ), invData.getString( "un" ) );

          for (int x = 0; x < current.inv.getSizeInventory(); x++)
          {
            String which = Integer.toString( x );
            if ( invData.hasKey( which ) )
View Full Code Here

    return names.size() + byId.size();
  }

  private ClientDCInternalInv getById(long id, long sortBy, String string)
  {
    ClientDCInternalInv o = byId.get( id );

    if ( o == null )
    {
      byId.put( id, o = new ClientDCInternalInv( 9, id, sortBy, string ) );
      refreshList = true;
    }

    return o;
  }
View Full Code Here

TOP

Related Classes of appeng.client.me.ClientDCInternalInv

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.