From 14ef4ce12e5115ed044457f6180d3d2572f1fc38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Tue, 28 Jun 2016 11:47:05 +0200 Subject: [PATCH] Alloy furnace GUI - Re-added empty configuration tab --- src/java/mmm/tech/base/TBAlloyFurnaceGui.java | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/java/mmm/tech/base/TBAlloyFurnaceGui.java b/src/java/mmm/tech/base/TBAlloyFurnaceGui.java index 058c9ca..256843f 100644 --- a/src/java/mmm/tech/base/TBAlloyFurnaceGui.java +++ b/src/java/mmm/tech/base/TBAlloyFurnaceGui.java @@ -75,6 +75,7 @@ public class TBAlloyFurnaceGui } + @SideOnly( Side.CLIENT ) private static class RecipeTab extends A_UGTab { @@ -207,6 +208,22 @@ public class TBAlloyFurnaceGui } + @SideOnly( Side.CLIENT ) + private static class ConfigTab + extends A_UGTab + { + + private ConfigTab( ) + { + super( ); + this.setBackground( TBAlloyFurnaceGui.TEXTURES[ 2 ] ) // + .setHeight( 194 ) // + .setIconPosition( 223 , 0 )// + .setSlotGroups( ) // + .setTooltip( "gui.mmm.configure" ); + } + } + private ArrayList< MAlloyRecipe > recipes; private int currentRecipe = 0; private String searchString = ""; @@ -214,8 +231,10 @@ public class TBAlloyFurnaceGui public TBAlloyFurnaceGui( final InventoryPlayer inventoryPlayer , final TBAlloyFurnaceTileEntity tileEntity ) { - super( new TBAlloyFurnaceContainer( inventoryPlayer , tileEntity ) , TBAlloyFurnaceGui.TEXTURES[ 0 ] , - new MainTab( ) , new RecipeTab( ) ); + super( new TBAlloyFurnaceContainer( inventoryPlayer , tileEntity ) , TBAlloyFurnaceGui.TEXTURES[ 0 ] , // + new MainTab( ) , // + new RecipeTab( ) , // + new ConfigTab( ) ); this.xSize = 176; this.recipes = MAlloyRecipe.REGISTRY.getRecipes( ); this.setRecipe( this.getRecipeIndex( tileEntity.recipe ) );