From 76af34564e1aefd938352556b587c0700d766472 Mon Sep 17 00:00:00 2001 From: Technus Date: Wed, 4 Oct 2017 18:24:54 +0200 Subject: Move Large Chem Reactor casing texture index to GT range --- src/main/java/gregtech/common/blocks/GT_Block_Casings8.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main/java/gregtech/common/blocks') diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java index b085bbe6a3..57d7146a2c 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Casings8.java @@ -11,10 +11,12 @@ import net.minecraft.util.IIcon; public class GT_Block_Casings8 extends GT_Block_Casings_Abstract { + + //WATCH OUT FOR TEXTURE ID's public GT_Block_Casings8() { super(GT_Item_Casings8.class, "gt.blockcasings8", GT_Material_Casings.INSTANCE); - for (int i = 0; i < 16; i = (i + 1)) { - Textures.BlockIcons.CASING_BLOCKS[(i + 112)] = new GT_CopiedBlockTexture(this, 6, i); + for (int i = 0; i < 2/*16*/; i = (i + 1)) { + Textures.BlockIcons.CASING_BLOCKS[(i + 64 + 14)] = new GT_CopiedBlockTexture(this, 6, i); } GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Chemically Inert Machine Casing"); GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "PTFE Pipe Casing"); @@ -22,6 +24,7 @@ public class GT_Block_Casings8 ItemList.Casing_Chemically_Inert.set(new ItemStack(this, 1, 0)); ItemList.Casing_Pipe_Polytetrafluoroethylene.set(new ItemStack(this, 1, 1)); } + @Override @SideOnly(Side.CLIENT) public IIcon getIcon(int aSide, int aMeta) { -- cgit