Package appeng.tile.crafting

Examples of appeng.tile.crafting.TileCraftingMonitorTile


    if ( Platform.isDrawing( tess ) )
      return;

    if ( tile instanceof TileCraftingMonitorTile )
    {
      TileCraftingMonitorTile cmt = (TileCraftingMonitorTile) tile;
      IAEItemStack ais = cmt.getJobProgress();

      if ( cmt.dspList == null )
      {
        cmt.updateList = true;
        cmt.dspList = GLAllocation.generateDisplayLists( 1 );
View Full Code Here


        {
          if ( color == ExtraBlockTextures.BlockCraftingMonitorFit_Light.getIcon() )
          {
            int b = w.getLightBrightnessForSkyBlocks( x + side.offsetX, y + side.offsetY, z + side.offsetZ, 0 );

            TileCraftingMonitorTile sr = blk.getTileEntity( w, x, y, z );
            AEColor col = sr.getColor();

            Tessellator.instance.setBrightness( b );
            Tessellator.instance.setColorOpaque_I( col.whiteVariant );
            i.renderFace( x, y, z, color, side, renderer );

            Tessellator.instance.setColorOpaque_I( col.mediumVariant );
            i.renderFace( x, y, z, ExtraBlockTextures.BlockCraftingMonitorFit_Medium.getIcon(), side, renderer );

            Tessellator.instance.setColorOpaque_I( col.blackVariant );
            i.renderFace( x, y, z, ExtraBlockTextures.BlockCraftingMonitorFit_Dark.getIcon(), side, renderer );
          }
          else
            i.renderBlockCurrentBounds( x, y, z, renderer );
        }
        else
        {
          if ( isMonitor )
          {
            TileCraftingMonitorTile sr = blk.getTileEntity( w, x, y, z );
            AEColor col = sr.getColor();

            Tessellator.instance.setColorOpaque_I( col.whiteVariant );
            Tessellator.instance.setBrightness( 13 << 20 | 13 << 4 );
            i.renderFace( x, y, z, color, side, renderer );
View Full Code Here

TOP

Related Classes of appeng.tile.crafting.TileCraftingMonitorTile

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.