aboutsummaryrefslogtreecommitdiff
path: root/src/Java/miscutil/gregtech/common/machines
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-04-25 12:32:53 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-04-25 12:32:53 +1000
commit9aedb8e33e04654018db03e3b2c4994ecccb6149 (patch)
tree07153f1d5718af8a6dd94debdcd9e6c43d9f6bbe /src/Java/miscutil/gregtech/common/machines
parentd0d5d53dad03639177a244ce159c30ee56c43b32 (diff)
downloadGT5-Unofficial-9aedb8e33e04654018db03e3b2c4994ecccb6149.tar.gz
GT5-Unofficial-9aedb8e33e04654018db03e3b2c4994ecccb6149.tar.bz2
GT5-Unofficial-9aedb8e33e04654018db03e3b2c4994ecccb6149.zip
Implemented the groundwork for some custom textures.
Not using them currently though, as they cause the client to crash. Will debug more & use default turbine textures for now.
Diffstat (limited to 'src/Java/miscutil/gregtech/common/machines')
-rw-r--r--src/Java/miscutil/gregtech/common/machines/multi/GregtechMetaLargeIndustrialCentrifuge.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Java/miscutil/gregtech/common/machines/multi/GregtechMetaLargeIndustrialCentrifuge.java b/src/Java/miscutil/gregtech/common/machines/multi/GregtechMetaLargeIndustrialCentrifuge.java
index c0ba9fc02d..d07b306b69 100644
--- a/src/Java/miscutil/gregtech/common/machines/multi/GregtechMetaLargeIndustrialCentrifuge.java
+++ b/src/Java/miscutil/gregtech/common/machines/multi/GregtechMetaLargeIndustrialCentrifuge.java
@@ -9,7 +9,6 @@ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Maintenance;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_MultiBlockBase;
-import gregtech.api.objects.GT_RenderedTexture;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
@@ -19,7 +18,7 @@ import java.util.List;
import miscutil.core.block.ModBlocks;
import miscutil.core.util.Utils;
-import miscutil.gregtech.api.enums.GregtechTextures;
+import miscutil.gregtech.api.objects.GregtechRenderedTexture;
import net.minecraft.block.Block;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemStack;
@@ -72,7 +71,7 @@ extends GT_MetaTileEntity_MultiBlockBase {
@Override
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
- return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(GregtechTextures.BlockIcons.LARGECENTRIFUGE_ACTIVE5) : new GT_RenderedTexture(GregtechTextures.BlockIcons.LARGECENTRIFUGE5) : Textures.BlockIcons.CASING_BLOCKS[57]};
+ return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GregtechRenderedTexture(Textures.BlockIcons.LARGETURBINE_ACTIVE5) : new GregtechRenderedTexture(Textures.BlockIcons.LARGETURBINE5) : Textures.BlockIcons.CASING_BLOCKS[57]};
}
@Override