Package mekanism.client.gui

Examples of mekanism.client.gui.GuiEnergyInfo$IInfoHandler


  public GuiHeatGenerator(InventoryPlayer inventory, TileEntityHeatGenerator tentity)
  {
    super(new ContainerHeatGenerator(inventory, tentity));
    tileEntity = tentity;
    guiElements.add(new GuiRedstoneControl(this, tileEntity, MekanismUtils.getResource(ResourceType.GUI, "GuiHeatGenerator.png")));
    guiElements.add(new GuiEnergyInfo(new IInfoHandler()
    {
      @Override
      public List<String> getInfo()
      {
        return ListUtils.asList(
View Full Code Here


  public GuiBioGenerator(InventoryPlayer inventory, TileEntityBioGenerator tentity)
  {
    super(new ContainerBioGenerator(inventory, tentity));
    tileEntity = tentity;
    guiElements.add(new GuiRedstoneControl(this, tileEntity, MekanismUtils.getResource(ResourceType.GUI, "GuiBioGenerator.png")));
    guiElements.add(new GuiEnergyInfo(new IInfoHandler()
    {
      @Override
      public List<String> getInfo()
      {
        return ListUtils.asList(
View Full Code Here

  public GuiGasGenerator(InventoryPlayer inventory, TileEntityGasGenerator tentity)
  {
    super(new ContainerGasGenerator(inventory, tentity));
    tileEntity = tentity;
    guiElements.add(new GuiRedstoneControl(this, tileEntity, MekanismUtils.getResource(ResourceType.GUI, "GuiGasGenerator.png")));
    guiElements.add(new GuiEnergyInfo(new IInfoHandler() {
      @Override
      public List<String> getInfo()
      {
        return ListUtils.asList(
            "Producing: " + MekanismUtils.getEnergyDisplay(tileEntity.generationRate) + "/t",
View Full Code Here

  public GuiWindTurbine(InventoryPlayer inventory, TileEntityWindTurbine tentity)
  {
    super(new ContainerWindTurbine(inventory, tentity));
    tileEntity = tentity;
    guiElements.add(new GuiRedstoneControl(this, tileEntity, MekanismUtils.getResource(ResourceType.GUI, "GuiWindTurbine.png")));
    guiElements.add(new GuiEnergyInfo(new IInfoHandler()
    {
      @Override
      public List<String> getInfo()
      {
        return ListUtils.asList(
View Full Code Here

  public GuiSolarGenerator(InventoryPlayer inventory, TileEntitySolarGenerator tentity)
  {
    super(new ContainerSolarGenerator(inventory, tentity));
    tileEntity = tentity;
    guiElements.add(new GuiRedstoneControl(this, tileEntity, MekanismUtils.getResource(ResourceType.GUI, "GuiSolarGenerator.png")));
    guiElements.add(new GuiEnergyInfo(new IInfoHandler()
    {
      @Override
      public List<String> getInfo()
      {
        return ListUtils.asList(
View Full Code Here

TOP

Related Classes of mekanism.client.gui.GuiEnergyInfo$IInfoHandler

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.