aaaaaaaaaaaaa

This commit is contained in:
BallOfEnergy 2024-08-17 12:26:08 -05:00
parent 89c97abbdc
commit 9d59218909

View File

@ -85,6 +85,13 @@ public class GUIMachineRefinery extends GuiInfoContainer {
Tuple.Quintet<FluidStack, FluidStack, FluidStack, FluidStack, ItemStack> recipe = RefineryRecipes.getRefinery(inputOil.getTankType()); Tuple.Quintet<FluidStack, FluidStack, FluidStack, FluidStack, ItemStack> recipe = RefineryRecipes.getRefinery(inputOil.getTankType());
if(recipe == null) {
func_146110_a(guiLeft + 52, guiTop + 63, 247, 1, 33, 48, 350, 256);
func_146110_a(guiLeft + 52, guiTop + 32, 247, 50, 66, 52, 350, 256);
func_146110_a(guiLeft + 52, guiTop + 24, 247, 145, 86, 35, 350, 256);
func_146110_a(guiLeft + 36, guiTop + 16, 211, 119, 122, 25, 350, 256);
} else {
// Heavy Oil Products // Heavy Oil Products
Color color = new Color(recipe.getV().type.getColor()); Color color = new Color(recipe.getV().type.getColor());
@ -117,6 +124,7 @@ public class GUIMachineRefinery extends GuiInfoContainer {
func_146110_a(guiLeft + 36, guiTop + 16, 211, 119, 122, 25, 350, 256); func_146110_a(guiLeft + 36, guiTop + 16, 211, 119, 122, 25, 350, 256);
GL11.glDisable(GL11.GL_BLEND); GL11.glDisable(GL11.GL_BLEND);
GL11.glColor4f(1F, 1F, 1F, 1F); GL11.glColor4f(1F, 1F, 1F, 1F);
}
// output tanks // output tanks
refinery.tanks[1].renderTank(guiLeft + 86, guiTop + 95, this.zLevel, 16, 52); refinery.tanks[1].renderTank(guiLeft + 86, guiTop + 95, this.zLevel, 16, 52);