@@ -18,28 +18,27 @@ public class CokeOvenRecipeCategory extends PrimitiveRecipeCategory<CokeOvenReci
1818 protected final IDrawable slot ;
1919 protected final IDrawable progressBar ;
2020 protected final IDrawable fluidTank ;
21- protected final IDrawable fluidTankOverlay ;
2221
2322
2423 public CokeOvenRecipeCategory (IGuiHelper guiHelper ) {
2524 super ("coke_oven" ,
2625 "gregtech.machine.coke_oven.name" ,
27- guiHelper .createBlankDrawable (176 , 166 ), guiHelper );
26+ guiHelper .createBlankDrawable (176 , 60 ), guiHelper );
2827
2928 this .slot = guiHelper .drawableBuilder (GuiTextures .SLOT .imageLocation , 0 , 0 , 18 , 18 ).setTextureSize (18 , 18 ).build ();
30- this .progressBar = guiHelper .drawableBuilder (GuiTextures .BRONZE_BLAST_FURNACE_PROGRESS_BAR .imageLocation , 0 , 0 , 20 , 15 ).setTextureSize (20 , 30 ).build ();
31- this .fluidTank = guiHelper .drawableBuilder (GuiTextures .FLUID_TANK_BACKGROUND .imageLocation , 0 , 0 , 20 , 58 ).setTextureSize (20 , 58 ).build ();
32- this .fluidTankOverlay = guiHelper .drawableBuilder (GuiTextures .FLUID_TANK_OVERLAY .imageLocation , 0 , 0 , 20 , 58 ).setTextureSize (20 , 58 ).build ();
29+ this .progressBar = guiHelper .drawableBuilder (GuiTextures .PROGRESS_BAR_COKE_OVEN .imageLocation , 0 , 0 , 36 , 18 ).setTextureSize (36 , 18 ).build ();
30+ this .fluidTank = guiHelper .drawableBuilder (GuiTextures .FLUID_SLOT .imageLocation , 0 , 0 , 18 , 18 ).setTextureSize (18 , 18 ).build ();
31+ // this.fluidTankOverlay = guiHelper.drawableBuilder(GuiTextures.FLUID_TANK_OVERLAY.imageLocation, 0, 0, 20, 58).setTextureSize(20, 58).build();
3332 }
3433
3534 @ Override
3635 public void setRecipe (IRecipeLayout recipeLayout , @ Nonnull CokeOvenRecipeWrapper recipeWrapper , @ Nonnull IIngredients ingredients ) {
3736 IGuiItemStackGroup itemStackGroup = recipeLayout .getItemStacks ();
3837 IGuiFluidStackGroup fluidStackGroup = recipeLayout .getFluidStacks ();
39- itemStackGroup .init (0 , true , 32 , 19 );
40- itemStackGroup .init (1 , false , 84 , 19 );
38+ itemStackGroup .init (0 , true , 51 , 18 );
39+ itemStackGroup .init (1 , false , 105 , 9 );
4140 itemStackGroup .set (ingredients );
42- fluidStackGroup .init (0 , false , 133 , 3 , 20 , 58 , 32000 , true , this . fluidTankOverlay );
41+ fluidStackGroup .init (0 , false , 105 , 27 , 18 , 18 , 5000 , false , null ); //todo convert to modularUI, change capacity to 32B
4342 fluidStackGroup .set (ingredients );
4443 }
4544
@@ -51,9 +50,9 @@ public IRecipeWrapper getRecipeWrapper(@Nonnull CokeOvenRecipe recipe) {
5150
5251 @ Override
5352 public void drawExtras (Minecraft minecraft ) {
54- this .slot .draw (minecraft , 32 , 19 );
55- this .slot .draw (minecraft , 84 , 19 );
56- this .progressBar .draw (minecraft , 57 , 20 );
57- this .fluidTank .draw (minecraft , 133 , 3 );
53+ this .slot .draw (minecraft , 51 , 18 );
54+ this .slot .draw (minecraft , 105 , 9 );
55+ this .progressBar .draw (minecraft , 69 , 18 );
56+ this .fluidTank .draw (minecraft , 105 , 27 );
5857 }
5958}
0 commit comments