Tweaked Terminal Gui to use smaller textures.
Crafting Terminal Added, ( incomplete ) Moved FMP Cut-able Registration to Init. Upgrades now drop when parts break. TE -> TE3 pulverizer api.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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 );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user