diff options
author | Martin Robertz <dream-master@gmx.net> | 2021-12-15 16:11:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 16:11:54 +0100 |
commit | 128c74faa99dfef8d056c1d82c6e4388b9d470e8 (patch) | |
tree | 2c84162154ba681232f86dffd4106db530236814 /src/Java/gtPlusPlus/xmod/gregtech/common/blocks/textures/CasingTextureHandler2.java | |
parent | 47ce336f288a45aa3244c8ae1177499fa5080942 (diff) | |
parent | ff4b8c7068c2ea7d654e9beda00646d23e62b314 (diff) | |
download | GT5-Unofficial-128c74faa99dfef8d056c1d82c6e4388b9d470e8.tar.gz GT5-Unofficial-128c74faa99dfef8d056c1d82c6e4388b9d470e8.tar.bz2 GT5-Unofficial-128c74faa99dfef8d056c1d82c6e4388b9d470e8.zip |
Merge pull request #65 from GTNewHorizons/unified-build-script2
Move sources and resources
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/blocks/textures/CasingTextureHandler2.java')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/blocks/textures/CasingTextureHandler2.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/textures/CasingTextureHandler2.java b/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/textures/CasingTextureHandler2.java deleted file mode 100644 index c980997c64..0000000000 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/textures/CasingTextureHandler2.java +++ /dev/null @@ -1,57 +0,0 @@ -package gtPlusPlus.xmod.gregtech.common.blocks.textures; - -import net.minecraft.util.IIcon; - -import gregtech.api.enums.Textures; - -public class CasingTextureHandler2 { - - public static IIcon getIcon(final int aSide, final int aMeta) { //Texture ID's. case 0 == ID[57] - if ((aMeta >= 0) && (aMeta < 16)) { - switch (aMeta) { - case 0: - return TexturesGtBlock.Casing_Material_RedSteel.getIcon(); - case 1: - return TexturesGtBlock.Casing_Material_HastelloyX.getIcon(); - case 2: - return TexturesGtBlock.Casing_Material_HastelloyN.getIcon(); - case 3: - return TexturesGtBlock.Casing_Material_Fluid_IncoloyDS.getIcon(); - case 4: - return TexturesGtBlock.Casing_Material_Grisium.getIcon(); - case 5: - return TexturesGtBlock.Casing_Machine_Metal_Panel_A.getIcon(); - case 6: - return TexturesGtBlock.Casing_Machine_Metal_Grate_A.getIcon(); - case 7: - return TexturesGtBlock.Casing_Redox_1.getIcon(); - case 8: - return TexturesGtBlock.Casing_Machine_Metal_Sheet_A.getIcon(); - case 9: - return TexturesGtBlock.Overlay_Machine_Cyber_A.getIcon(); - case 10: - return Textures.BlockIcons.MACHINE_CASING_RADIATIONPROOF.getIcon(); - case 11: - return TexturesGtBlock.Casing_Material_Tantalloy61.getIcon(); - case 12: - return TexturesGtBlock.Casing_Machine_Simple_Top.getIcon(); - case 13: - if (aSide <2) { - return TexturesGtBlock.TEXTURE_TECH_A.getIcon(); - } - else { - return TexturesGtBlock.TEXTURE_TECH_B.getIcon(); - } - case 14: - return Textures.BlockIcons.RENDERING_ERROR.getIcon(); - case 15: - return TexturesGtBlock.Casing_Machine_Acacia_Log.getIcon(); - default: - return TexturesGtBlock.Overlay_UU_Matter.getIcon(); - - } - } - return TexturesGtBlock._PlaceHolder.getIcon(); - } - -}
\ No newline at end of file |