From 69687d6c44bf2c8d4f5c52ad016e119a91d316d6 Mon Sep 17 00:00:00 2001 From: Ghzdude <44148655+ghzdude@users.noreply.github.com> Date: Thu, 21 Dec 2023 22:30:15 -0700 Subject: [PATCH] color energy in overlay still up for debate --- .../storage/MetaTileEntityQuantumEnergyAcceptor.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumEnergyAcceptor.java b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumEnergyAcceptor.java index 21aec5c4360..09bfc7c178e 100644 --- a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumEnergyAcceptor.java +++ b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumEnergyAcceptor.java @@ -1,11 +1,14 @@ package gregtech.common.metatileentities.storage; +import gregtech.api.GTValues; import gregtech.api.capability.GregtechCapabilities; import gregtech.api.capability.IEnergyContainer; import gregtech.api.metatileentity.MetaTileEntity; import gregtech.api.metatileentity.interfaces.IGregTechTileEntity; import gregtech.client.renderer.texture.Textures; +import gregtech.client.utils.PipelineUtil; + import net.minecraft.util.EnumFacing; import net.minecraft.util.ResourceLocation; import net.minecraftforge.common.capabilities.Capability; @@ -23,7 +26,8 @@ public MetaTileEntityQuantumEnergyAcceptor(ResourceLocation metaTileEntityId) { @Override public void renderMetaTileEntity(CCRenderState renderState, Matrix4 translation, IVertexOperation[] pipeline) { Textures.QUANTUM_CASING.render(renderState, translation, pipeline); - Textures.ENERGY_IN_HI.renderSided(getFrontFacing(), renderState, translation, pipeline); + Textures.ENERGY_IN_HI.renderSided(getFrontFacing(), renderState, translation, PipelineUtil.color(pipeline, + GTValues.VC[GTValues.MV])); } @Override