Skip to content

Commit

Permalink
new quantum chest texture
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 committed Jul 29, 2021
1 parent 8b840fe commit ba98780
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/main/java/gregtech/api/render/Textures.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ public class Textures {
public static SimpleOverlayRenderer BLOWER_ACTIVE_OVERLAY = new SimpleOverlayRenderer("overlay/machine/overlay_blower_active");
public static SimpleOverlayRenderer INFINITE_EMITTER_FACE = new SimpleOverlayRenderer("overlay/machine/energy_emitter");
public static SimpleOverlayRenderer STEAM_VENT_OVERLAY = new SimpleOverlayRenderer("overlay/machine/steam_vent");
public static SimpleOverlayRenderer QUANTUM_TANK_OVERLAY = new SimpleOverlayRenderer("overlay/machine/overlay_qtank");
public static SimpleOverlayRenderer QUANTUM_CHEST_OVERLAY = new SimpleOverlayRenderer("overlay/machine/overlay_qchest");

static {
for (int i = 0; i < VOLTAGE_CASINGS.length; i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public MetaTileEntity createMetaTileEntity(MetaTileEntityHolder holder) {
public void renderMetaTileEntity(CCRenderState renderState, Matrix4 translation, IVertexOperation[] pipeline) {
Textures.VOLTAGE_CASINGS[tier].render(renderState, translation, ArrayUtils.add(pipeline,
new ColourMultiplier(GTUtility.convertRGBtoOpaqueRGBA_CL(getPaintingColorForRendering()))));
Textures.SCREEN.renderSided(EnumFacing.UP, renderState, translation, pipeline);
Textures.QUANTUM_CHEST_OVERLAY.renderSided(getFrontFacing(), renderState, translation, pipeline);
if (outputFacing != null) {
Textures.PIPE_OUT_OVERLAY.renderSided(outputFacing, renderState, translation, pipeline);
if (isAutoOutputItems()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public boolean hasFrontFacing() {
public void renderMetaTileEntity(CCRenderState renderState, Matrix4 translation, IVertexOperation[] pipeline) {
Textures.VOLTAGE_CASINGS[tier].render(renderState, translation, ArrayUtils.add(pipeline,
new ColourMultiplier(GTUtility.convertRGBtoOpaqueRGBA_CL(getPaintingColorForRendering()))));
Textures.SCREEN.renderSided(EnumFacing.UP, renderState, translation, pipeline);
Textures.QUANTUM_TANK_OVERLAY.renderSided(EnumFacing.UP, renderState, translation, pipeline);
if (outputFacing != null) {
Textures.PIPE_OUT_OVERLAY.renderSided(outputFacing, renderState, translation, pipeline);
if (isAutoOutputFluids()) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"animation":{
"frametime":8
}
}
"animation": {
"frametime": 8
}
}

0 comments on commit ba98780

Please sign in to comment.