diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-10-08 19:55:35 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-10-08 19:55:35 +1000 |
commit | f70c7d40461a97f686d89c7020d33f4a8b88c266 (patch) | |
tree | de4f478af8778169e3f0cd5f7513715c1d11ba3f /src/main/java/gregtech/common/blocks/GT_Block_Casings1.java | |
parent | 85044d37a3c52464ad83bac643c1b4a6ec0cbc10 (diff) | |
download | GT5-Unofficial-f70c7d40461a97f686d89c7020d33f4a8b88c266.tar.gz GT5-Unofficial-f70c7d40461a97f686d89c7020d33f4a8b88c266.tar.bz2 GT5-Unofficial-f70c7d40461a97f686d89c7020d33f4a8b88c266.zip |
Added documentation to updateTexture in GT_MetaTileEntity_Hatch.
Added a function to GT_Utility called addTexturePage(byte page).
Added information about who is using which texture page in GT_Block_Casings1.
Updated GT_Block_Casings5 & GT_Block_Casings8 to utilise texture page 1.
Updated Large Chemical Reactor to reflect this change, now also uses Page 1 Index 48.
Moved the Pyrolyse oven casing index from 111 to 22, which is currently unused and within the Gregtech index space.
Diffstat (limited to 'src/main/java/gregtech/common/blocks/GT_Block_Casings1.java')
-rw-r--r-- | src/main/java/gregtech/common/blocks/GT_Block_Casings1.java | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings1.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings1.java index 08f7118f66..965c4bffab 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Casings1.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Casings1.java @@ -11,12 +11,27 @@ import net.minecraft.world.IBlockAccess; public class GT_Block_Casings1
extends GT_Block_Casings_Abstract {
+
+ /**
+ * Texture Index Information
+ * Textures.BlockIcons.casingTexturePages[0][0-63] - Gregtech
+ * Textures.BlockIcons.casingTexturePages[0][64-127] - GT++
+ * Textures.BlockIcons.casingTexturePages[1][0-127] - Gregtech
+ * Textures.BlockIcons.casingTexturePages[2][0-127] - Free
+ * Textures.BlockIcons.casingTexturePages[3][0-127] - Free
+ * Textures.BlockIcons.casingTexturePages[4][0-127] - Free
+ * Textures.BlockIcons.casingTexturePages[5][0-127] - Free
+ * Textures.BlockIcons.casingTexturePages[6][0-127] - Free
+ * Textures.BlockIcons.casingTexturePages[7][0-127] - Free
+ * Textures.BlockIcons.casingTexturePages[8][0-127] - TecTech
+ */
+
+
public GT_Block_Casings1() {
super(GT_Item_Casings1.class, "gt.blockcasings", GT_Material_Casings.INSTANCE);
- for (byte i = 0; i < 16; i = (byte) (i + 1)) {
+ for (byte i = 0; i < 16; i = (byte) (i + 1)) {
Textures.BlockIcons.CASING_BLOCKS[i] = new GT_CopiedBlockTexture(this, 6, i);
}
- Textures.BlockIcons.CASING_BLOCKS[111] = new GT_CopiedBlockTexture(this, 6, 0,Dyes.MACHINE_METAL.mRGBa);
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "ULV Machine Casing");
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "LV Machine Casing");
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "MV Machine Casing");
|