Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Fixed the controller texture for the turbines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilad committed May 7, 2024
1 parent 284b933 commit beaf0cf
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import gregtech.api.recipe.maps.FuelBackend;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_Gas extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -194,11 +195,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_SS5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_SS_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import gregtech.api.util.shutdown.ShutDownReasonRegistry;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Turbine;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_Plasma extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -301,11 +302,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TU5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TU_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_Utility;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

public class GT_MTE_LargeTurbine_SCSteam extends GregtechMetaTileEntity_LargerTurbineBase {

Expand Down Expand Up @@ -115,11 +116,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return TextureFactory.of(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI5);
return TextureFactory.of(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return TextureFactory.of(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI_ACTIVE5);
return TextureFactory.of(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.core.util.minecraft.PlayerUtils;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_SHSteam extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -188,11 +189,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import gregtech.api.util.GT_Utility;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.core.util.minecraft.PlayerUtils;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_Steam extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -199,11 +200,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_ST5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_ST_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}

0 comments on commit beaf0cf

Please sign in to comment.