f8e6a426ce
Crafting Terminal Added, ( incomplete ) Moved FMP Cut-able Registration to Init. Upgrades now drop when parts break. TE -> TE3 pulverizer api.
28 lines
819 B
Java
28 lines
819 B
Java
package appeng.client.gui.implementations;
|
|
|
|
import net.minecraft.entity.player.InventoryPlayer;
|
|
import appeng.api.storage.IStorageMonitorable;
|
|
import appeng.container.implementations.ContainerCraftingTerm;
|
|
import appeng.core.localization.GuiText;
|
|
|
|
public class GuiCraftingTerm extends GuiMEMonitorable
|
|
{
|
|
|
|
public GuiCraftingTerm(InventoryPlayer inventoryPlayer, IStorageMonitorable te) {
|
|
super( inventoryPlayer, te, new ContainerCraftingTerm( inventoryPlayer, te ) );
|
|
reservedSpace = 73;
|
|
}
|
|
|
|
protected String getBackground()
|
|
{
|
|
return "guis/crafting.png";
|
|
}
|
|
|
|
@Override
|
|
public void drawFG(int offsetX, int offsetY, int mouseX, int mouseY)
|
|
{
|
|
super.drawFG( offsetX, offsetY, mouseX, mouseY );
|
|
fontRenderer.drawString( GuiText.CraftingTerminal.getLocal(), 8, ySize - 96 + 1 - reservedSpace, 4210752 );
|
|
}
|
|
|
|
}
|