Fix casing
This commit is contained in:
parent
4e50d2e375
commit
5b61cdec39
1 changed files with 49 additions and 48 deletions
|
@ -14,75 +14,76 @@ public class GT_Block_Casings6
|
||||||
public GT_Block_Casings6() {
|
public GT_Block_Casings6() {
|
||||||
super(GT_Item_Casings6.class, "gt.blockcasings6", GT_Material_Casings.INSTANCE);
|
super(GT_Item_Casings6.class, "gt.blockcasings6", GT_Material_Casings.INSTANCE);
|
||||||
|
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Hermetic Casing I");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Hermetic Casing");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "Hermetic Casing II");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "Hermetic Casing I");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Hermetic Casing III");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Hermetic Casing II");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Hermetic Casing IV");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Hermetic Casing III");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "Hermetic Casing V");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "Hermetic Casing IV");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "Hermetic Casing VI");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "Hermetic Casing V");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "Hermetic Casing VII");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "Hermetic Casing VI");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Hermetic Casing VIII");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Hermetic Casing VII");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Hermetic Casing IX");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Hermetic Casing VII");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Hermetic Casing X");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Hermetic Casing IX");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Hermetic Casing XI");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Hermetic Casing X");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Hermetic Casing XII");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Hermetic Casing XI");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Hermetic Casing XIII");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Hermetic Casing XII");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Hermetic Casing XIV");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Hermetic Casing XIII");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Hermetic Casing XV");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Hermetic Casing XIV");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Hermetic Casing");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Hermetic Casing XV");
|
||||||
|
|
||||||
ItemList.Casing_Tank_1.set(new ItemStack(this, 1, 0));
|
ItemList.Casing_Tank_0.set(new ItemStack(this, 1, 0));
|
||||||
ItemList.Casing_Tank_2.set(new ItemStack(this, 1, 1));
|
ItemList.Casing_Tank_1.set(new ItemStack(this, 1, 1));
|
||||||
ItemList.Casing_Tank_3.set(new ItemStack(this, 1, 2));
|
ItemList.Casing_Tank_2.set(new ItemStack(this, 1, 2));
|
||||||
ItemList.Casing_Tank_4.set(new ItemStack(this, 1, 3));
|
ItemList.Casing_Tank_3.set(new ItemStack(this, 1, 3));
|
||||||
ItemList.Casing_Tank_5.set(new ItemStack(this, 1, 4));
|
ItemList.Casing_Tank_4.set(new ItemStack(this, 1, 4));
|
||||||
ItemList.Casing_Tank_6.set(new ItemStack(this, 1, 5));
|
ItemList.Casing_Tank_5.set(new ItemStack(this, 1, 5));
|
||||||
ItemList.Casing_Tank_7.set(new ItemStack(this, 1, 6));
|
ItemList.Casing_Tank_6.set(new ItemStack(this, 1, 6));
|
||||||
ItemList.Casing_Tank_8.set(new ItemStack(this, 1, 7));
|
ItemList.Casing_Tank_7.set(new ItemStack(this, 1, 7));
|
||||||
ItemList.Casing_Tank_9.set(new ItemStack(this, 1, 8));
|
ItemList.Casing_Tank_8.set(new ItemStack(this, 1, 8));
|
||||||
ItemList.Casing_Tank_10.set(new ItemStack(this, 1, 9));
|
ItemList.Casing_Tank_9.set(new ItemStack(this, 1, 9));
|
||||||
ItemList.Casing_Tank_11.set(new ItemStack(this, 1, 10));
|
ItemList.Casing_Tank_10.set(new ItemStack(this, 1, 10));
|
||||||
ItemList.Casing_Tank_12.set(new ItemStack(this, 1, 11));
|
ItemList.Casing_Tank_11.set(new ItemStack(this, 1, 11));
|
||||||
ItemList.Casing_Tank_13.set(new ItemStack(this, 1, 12));
|
ItemList.Casing_Tank_12.set(new ItemStack(this, 1, 12));
|
||||||
ItemList.Casing_Tank_14.set(new ItemStack(this, 1, 13));
|
ItemList.Casing_Tank_13.set(new ItemStack(this, 1, 13));
|
||||||
ItemList.Casing_Tank_15.set(new ItemStack(this, 1, 14));
|
ItemList.Casing_Tank_14.set(new ItemStack(this, 1, 14));
|
||||||
ItemList.Casing_Tank_0.set(new ItemStack(this, 1, 15));
|
ItemList.Casing_Tank_15.set(new ItemStack(this, 1, 15));
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getIcon(int aSide, int aMeta) {
|
public IIcon getIcon(int aSide, int aMeta) {
|
||||||
switch (aMeta) {
|
switch (aMeta) {
|
||||||
case 0:
|
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_1.getIcon();
|
|
||||||
case 1:
|
case 1:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_2.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_1.getIcon();
|
||||||
case 2:
|
case 2:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_3.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_2.getIcon();
|
||||||
case 3:
|
case 3:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_4.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_3.getIcon();
|
||||||
case 4:
|
case 4:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_5.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_4.getIcon();
|
||||||
case 5:
|
case 5:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_6.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_5.getIcon();
|
||||||
case 6:
|
case 6:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_7.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_6.getIcon();
|
||||||
case 7:
|
case 7:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_8.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_7.getIcon();
|
||||||
case 8:
|
case 8:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_9.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_8.getIcon();
|
||||||
case 9:
|
case 9:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_10.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_9.getIcon();
|
||||||
case 10:
|
case 10:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_11.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_10.getIcon();
|
||||||
case 11:
|
case 11:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_12.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_11.getIcon();
|
||||||
case 12:
|
case 12:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_13.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_12.getIcon();
|
||||||
case 13:
|
case 13:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_14.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_13.getIcon();
|
||||||
case 14:
|
case 14:
|
||||||
|
return Textures.BlockIcons.MACHINE_CASING_TANK_14.getIcon();
|
||||||
|
case 15:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_15.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_15.getIcon();
|
||||||
}
|
default:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_0.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_0.getIcon();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue