Applied-Energistics-2-tiler.../client/gui/implementations/GuiMAC.java

36 lines
904 B
Java
Raw Normal View History

2014-04-24 08:14:26 +02:00
package appeng.client.gui.implementations;
import net.minecraft.entity.player.InventoryPlayer;
import appeng.api.config.RedstoneMode;
import appeng.api.config.Settings;
import appeng.client.gui.widgets.GuiImgButton;
2014-04-24 08:14:26 +02:00
import appeng.container.implementations.ContainerMAC;
import appeng.core.localization.GuiText;
import appeng.tile.crafting.TileMolecularAssembler;
public class GuiMAC extends GuiUpgradeable
2014-04-24 08:14:26 +02:00
{
@Override
protected void addButtons()
{
redstoneMode = new GuiImgButton( this.guiLeft - 18, guiTop + 8, Settings.REDSTONE_CONTROLLED, RedstoneMode.IGNORE );
buttonList.add( redstoneMode );
}
protected String getBackground()
{
return "guis/mac.png";
}
2014-04-24 08:14:26 +02:00
public GuiMAC(InventoryPlayer inventoryPlayer, TileMolecularAssembler te) {
super( new ContainerMAC( inventoryPlayer, te ) );
this.ySize = 197;
}
protected GuiText getName()
2014-04-24 08:14:26 +02:00
{
return GuiText.MolecularAssembler;
2014-04-24 08:14:26 +02:00
}
}