aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/tileentities/machines/steam
diff options
context:
space:
mode:
authorLéa Gris <lea.gris@noiraude.net>2021-05-20 22:57:12 +0200
committerLéa Gris <lea.gris@noiraude.net>2021-05-21 13:41:21 +0200
commit678c9a6e1e7a3a1127c40ae5c3dda7ef4519bfb7 (patch)
treef275c84399e59b714bcd9a70f0ffa6d6020f5ffe /src/main/java/gregtech/common/tileentities/machines/steam
parent04468545985a4fed401d9b6626670e8af5938920 (diff)
downloadGT5-Unofficial-678c9a6e1e7a3a1127c40ae5c3dda7ef4519bfb7.tar.gz
GT5-Unofficial-678c9a6e1e7a3a1127c40ae5c3dda7ef4519bfb7.tar.bz2
GT5-Unofficial-678c9a6e1e7a3a1127c40ae5c3dda7ef4519bfb7.zip
feat(render): implementation-free api texture factory
Provides an implementation-free API Texture factory an builder. Deprecates gregtech.api.objects.GT_*Texture.java classes Once all GregTech add-on will be migrated to the new implemnetation-free API, changes to the implementation will not affect the add-on. For now, this API allow rendering of in-world glow textures. In-inventory/hand rendering of glow texture require implementation changes that are postponed until no add-on uses the deprecated embedded implementation API.
Diffstat (limited to 'src/main/java/gregtech/common/tileentities/machines/steam')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Bronze.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Steel.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Bronze.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Steel.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Bronze.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Steel.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Bronze.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Steel.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Bronze.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Steel.java21
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Bronze.java23
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Steel.java23
12 files changed, 122 insertions, 134 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Bronze.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Bronze.java
index 2f1bb085f5..edee82f13a 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Bronze.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Bronze.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Bronze;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -74,56 +73,56 @@ public class GT_MetaTileEntity_AlloySmelter_Bronze extends GT_MetaTileEntity_Bas
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_ALLOY_SMELTER_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_ALLOY_SMELTER_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_ALLOY_SMELTER)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_ALLOY_SMELTER)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_ALLOY_SMELTER_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_ALLOY_SMELTER_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_ALLOY_SMELTER)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Steel.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Steel.java
index c3d217b5af..b15366b456 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Steel.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_AlloySmelter_Steel.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Steel;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -74,56 +73,56 @@ public class GT_MetaTileEntity_AlloySmelter_Steel extends GT_MetaTileEntity_Basi
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_ALLOY_SMELTER_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_ALLOY_SMELTER_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_ALLOY_SMELTER)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_ALLOY_SMELTER_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_ALLOY_SMELTER)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_ALLOY_SMELTER_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_ALLOY_SMELTER_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_ALLOY_SMELTER)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_ALLOY_SMELTER)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Bronze.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Bronze.java
index f0a0231706..b5d9b7d095 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Bronze.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Bronze.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Bronze;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -74,56 +73,56 @@ public class GT_MetaTileEntity_Compressor_Bronze extends GT_MetaTileEntity_Basic
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_COMPRESSOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_COMPRESSOR_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_COMPRESSOR)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_COMPRESSOR)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_COMPRESSOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_COMPRESSOR_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_COMPRESSOR)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_COMPRESSOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_COMPRESSOR_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_COMPRESSOR)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Steel.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Steel.java
index e9eb821fa6..8453c369d2 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Steel.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Compressor_Steel.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Steel;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -74,56 +73,56 @@ public class GT_MetaTileEntity_Compressor_Steel extends GT_MetaTileEntity_BasicM
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_COMPRESSOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_COMPRESSOR_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_COMPRESSOR)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_COMPRESSOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_COMPRESSOR)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_COMPRESSOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_COMPRESSOR_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_COMPRESSOR)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_COMPRESSOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_COMPRESSOR_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_COMPRESSOR)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_COMPRESSOR)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Bronze.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Bronze.java
index 927e291fee..db4faea50e 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Bronze.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Bronze.java
@@ -7,8 +7,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Bronze;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -73,56 +72,56 @@ public class GT_MetaTileEntity_Extractor_Bronze extends GT_MetaTileEntity_BasicM
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_SIDE_STEAM_EXTRACTOR_ACTIVE)};
+ TextureFactory.of(Textures.BlockIcons.OVERLAY_SIDE_STEAM_EXTRACTOR_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_SIDE_STEAM_EXTRACTOR)};
+ TextureFactory.of(Textures.BlockIcons.OVERLAY_SIDE_STEAM_EXTRACTOR)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_EXTRACTOR)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_EXTRACTOR)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_EXTRACTOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_EXTRACTOR_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_EXTRACTOR)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_EXTRACTOR)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_EXTRACTOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_EXTRACTOR_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_EXTRACTOR)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_EXTRACTOR)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Steel.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Steel.java
index ce6f55efae..8ebd24a65b 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Steel.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Extractor_Steel.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Steel;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -74,56 +73,56 @@ public class GT_MetaTileEntity_Extractor_Steel extends GT_MetaTileEntity_BasicMa
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_EXTRACTOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_EXTRACTOR_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_EXTRACTOR)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_EXTRACTOR)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_EXTRACTOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_EXTRACTOR)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_EXTRACTOR)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_EXTRACTOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_EXTRACTOR_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_EXTRACTOR)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_EXTRACTOR)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_EXTRACTOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_EXTRACTOR_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_EXTRACTOR)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_EXTRACTOR)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Bronze.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Bronze.java
index 915213af62..50b55f607a 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Bronze.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Bronze.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Bronze;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -74,56 +73,56 @@ public class GT_MetaTileEntity_ForgeHammer_Bronze extends GT_MetaTileEntity_Basi
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_HAMMER_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_HAMMER_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_HAMMER)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_HAMMER)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_HAMMER_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_HAMMER_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_HAMMER)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_HAMMER_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_HAMMER_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_HAMMER)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Steel.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Steel.java
index e7f739ab2f..6145a5b1b2 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Steel.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_ForgeHammer_Steel.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Steel;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -74,56 +73,56 @@ public class GT_MetaTileEntity_ForgeHammer_Steel extends GT_MetaTileEntity_Basic
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_HAMMER_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_HAMMER_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_HAMMER)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_HAMMER_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_HAMMER)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_HAMMER_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_HAMMER_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_HAMMER)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_HAMMER_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_HAMMER_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_HAMMER)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_HAMMER)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Bronze.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Bronze.java
index 22f700a860..f67a94f81e 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Bronze.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Bronze.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Bronze;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -78,56 +77,56 @@ public class GT_MetaTileEntity_Furnace_Bronze extends GT_MetaTileEntity_BasicMac
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_FURNACE_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_FURNACE_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_FURNACE)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_FURNACE)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_FURNACE_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_FURNACE_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_FURNACE)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_FURNACE_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_FURNACE_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_FURNACE)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Steel.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Steel.java
index 62132751db..01e3c1220e 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Steel.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Furnace_Steel.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Steel;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_Utility;
import net.minecraft.entity.player.InventoryPlayer;
@@ -78,56 +77,56 @@ public class GT_MetaTileEntity_Furnace_Steel extends GT_MetaTileEntity_BasicMach
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_FURNACE_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_FURNACE_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_FURNACE)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_FURNACE_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_FURNACE)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_FURNACE_ACTIVE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_FURNACE_ACTIVE)};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_FURNACE)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_FURNACE_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_FURNACE_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_FURNACE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_FURNACE)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Bronze.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Bronze.java
index 119a698eca..39d539f395 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Bronze.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Bronze.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Bronze;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Recipe.GT_Recipe_Map;
import gregtech.api.util.GT_Utility;
@@ -103,57 +102,57 @@ public class GT_MetaTileEntity_Macerator_Bronze extends GT_MetaTileEntity_BasicM
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_MACERATOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_MACERATOR_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_MACERATOR)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{
super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_MACERATOR)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{
super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{
super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_MACERATOR)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{
super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_MACERATOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_MACERATOR_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{
super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_MACERATOR)};
}
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Steel.java b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Steel.java
index b5f14d2b8b..7383e9fadc 100644
--- a/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Steel.java
+++ b/src/main/java/gregtech/common/tileentities/machines/steam/GT_MetaTileEntity_Macerator_Steel.java
@@ -6,8 +6,7 @@ import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_Steel;
-import gregtech.api.render.GT_RenderedGlowTexture;
-import gregtech.api.render.GT_RenderedTexture;
+import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Recipe.GT_Recipe_Map;
import gregtech.api.util.GT_Utility;
@@ -103,52 +102,52 @@ public class GT_MetaTileEntity_Macerator_Steel extends GT_MetaTileEntity_BasicMa
public ITexture[] getSideFacingActive(byte aColor) {
return new ITexture[]{
super.getSideFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_MACERATOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_MACERATOR_ACTIVE)};
}
@Override
public ITexture[] getSideFacingInactive(byte aColor) {
return new ITexture[]{
super.getSideFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_SIDE_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_SIDE_STEAM_MACERATOR)};
}
@Override
public ITexture[] getFrontFacingActive(byte aColor) {
return new ITexture[]{
super.getFrontFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_FRONT_STEAM_MACERATOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getFrontFacingInactive(byte aColor) {
return new ITexture[]{super.getFrontFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_FRONT_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_FRONT_STEAM_MACERATOR)};
}
@Override
public ITexture[] getTopFacingActive(byte aColor) {
return new ITexture[]{super.getTopFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE),
- new GT_RenderedGlowTexture(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE_GLOW)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE),
+ TextureFactory.builder().addIcon(OVERLAY_TOP_STEAM_MACERATOR_ACTIVE_GLOW).glow().build()};
}
@Override
public ITexture[] getTopFacingInactive(byte aColor) {
return new ITexture[]{super.getTopFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_TOP_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_TOP_STEAM_MACERATOR)};
}
@Override
public ITexture[] getBottomFacingActive(byte aColor) {
return new ITexture[]{super.getBottomFacingActive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_MACERATOR_ACTIVE)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_MACERATOR_ACTIVE)};
}
@Override
public ITexture[] getBottomFacingInactive(byte aColor) {
return new ITexture[]{super.getBottomFacingInactive(aColor)[0],
- new GT_RenderedTexture(OVERLAY_BOTTOM_STEAM_MACERATOR)};
+ TextureFactory.of(OVERLAY_BOTTOM_STEAM_MACERATOR)};
}
}