Skip to content

Commit

Permalink
color energy in overlay
Browse files Browse the repository at this point in the history
still up for debate
  • Loading branch information
ghzdude committed Dec 22, 2023
1 parent c29909a commit 69687d6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 69687d6

Please sign in to comment.