aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java
blob: 5527a0315fd3ce615855ef54f5540a20cdfa1af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package gtPlusPlus.xmod.gregtech.common.blocks;

import gregtech.api.enums.Textures;
import gregtech.api.objects.GT_CopiedBlockTexture;
import gregtech.api.util.GT_LanguageManager;
import gregtech.common.blocks.GT_Material_Casings;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.CasingTextureHandler2;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;

public class GregtechMetaCasingBlocks2 extends GregtechMetaCasingBlocksAbstract {

	public final static int	GTID			= 73;

	CasingTextureHandler2	TextureHandler	= new CasingTextureHandler2();

	public GregtechMetaCasingBlocks2() {
		super(GregtechMetaCasingItems.class, "gtplusplus.blockcasings.2", GT_Material_Casings.INSTANCE);
		for (byte i = 0; i < 16; i = (byte) (i + 1)) {
			Textures.BlockIcons.CASING_BLOCKS[GregtechMetaCasingBlocks2.GTID + i] = new GT_CopiedBlockTexture(this, 6,
					i);
		}
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".0.name", "Strctural Glass Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".1.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".2.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".3.name", "Placeholder Casing"); // 60
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".4.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".5.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".6.name", "Incoloy Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".7.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".8.name", "Incoloy Casing"); // 65
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".9.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".10.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".11.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".12.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".13.name", "Placeholder Casing");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".14.name", "Placeholder Casing ");
		GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".15.name", "Placeholder Casing ");
		GregtechItemList.Casing_StructuralGlass.set(new ItemStack(this, 1, 0));
		GregtechItemList.Casing_PlaceHolder1.set(new ItemStack(this, 1, 1));
		GregtechItemList.Casing_PlaceHolder2.set(new ItemStack(this, 1, 2));
		GregtechItemList.Casing_PlaceHolder3.set(new ItemStack(this, 1, 3));
		GregtechItemList.Casing_PlaceHolder4.set(new ItemStack(this, 1, 4));
		GregtechItemList.Casing_PlaceHolder5.set(new ItemStack(this, 1, 5));
		GregtechItemList.Casing_PlaceHolder6.set(new ItemStack(this, 1, 6));
		GregtechItemList.Casing_PlaceHolder7.set(new ItemStack(this, 1, 7));
		GregtechItemList.Casing_PlaceHolder8.set(new ItemStack(this, 1, 8));
		GregtechItemList.Casing_PlaceHolder9.set(new ItemStack(this, 1, 9));
		GregtechItemList.Casing_PlaceHolder10.set(new ItemStack(this, 1, 10));
		GregtechItemList.Casing_PlaceHolder11.set(new ItemStack(this, 1, 11));
		GregtechItemList.Casing_PlaceHolder12.set(new ItemStack(this, 1, 12));
		GregtechItemList.Casing_PlaceHolder13.set(new ItemStack(this, 1, 13));
		GregtechItemList.Casing_PlaceHolder14.set(new ItemStack(this, 1, 14));
		GregtechItemList.Casing_PlaceHolder15.set(new ItemStack(this, 1, 15));
	}

	@Override
	public IIcon getIcon(final int aSide, final int aMeta) { // Texture ID's.
																// case 0 ==
																// ID[57]
		return CasingTextureHandler2.getIcon(aSide, aMeta);
	}
}