Package forestry.core.utils

Examples of forestry.core.utils.EnumTankLevel


    render(waterLevel.ordinal(), melangeLevel.ordinal(), orientation, x, y, z);
  }

  public void render(int waterLevelInt, int melangeLevelInt, ForgeDirection orientation, double x, double y, double z) {

    EnumTankLevel waterLevel = EnumTankLevel.values()[waterLevelInt];
    EnumTankLevel melangeLevel = EnumTankLevel.values()[melangeLevelInt];

    GL11.glPushMatrix();
    // GL11.glDisable(2896 /* GL_LIGHTING */);
    GL11.glDisable(GL11.GL_LIGHTING);

 
View Full Code Here


    super.drawGuiContainerBackgroundLayer(var1, mouseX, mouseY);

    EngineTin engine = getEngine();
    int storageHeight = engine.getStorageScaled(46);
    int storageMaxHeight = engine.getStorageScaled(100);
    EnumTankLevel rated = engine.rateLevel(storageMaxHeight);

    drawHealthMeter(guiLeft + 74, guiTop + 25, storageHeight, rated);
  }
View Full Code Here

TOP

Related Classes of forestry.core.utils.EnumTankLevel

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.