Merge pull request #493 from Muramasa-/TurbineCasingRebalance
Turbine casing rebalance
|
@ -628,7 +628,7 @@ public enum ItemList implements IItemContainer {
|
||||||
LargeSteamTurbine, LargeGasTurbine, LargeHPSteamTurbine, LargePlasmaTurbine,
|
LargeSteamTurbine, LargeGasTurbine, LargeHPSteamTurbine, LargePlasmaTurbine,
|
||||||
Ingot_Heavy1, Ingot_Heavy2, Ingot_Heavy3,
|
Ingot_Heavy1, Ingot_Heavy2, Ingot_Heavy3,
|
||||||
Pump_LV, Pump_MV, Pump_HV, Pump_EV, Pump_IV,
|
Pump_LV, Pump_MV, Pump_HV, Pump_EV, Pump_IV,
|
||||||
Teleporter, Cover_NeedsMaintainance, Casing_Turbine,
|
Teleporter, Cover_NeedsMaintainance, Casing_Turbine, Casing_Turbine1, Casing_Turbine2, Casing_Turbine3,
|
||||||
MobRep_LV, MobRep_MV, MobRep_HV, MobRep_EV, MobRep_IV, Cover_PlayerDetector, Machine_Multi_HeatExchanger,
|
MobRep_LV, MobRep_MV, MobRep_HV, MobRep_EV, MobRep_IV, Cover_PlayerDetector, Machine_Multi_HeatExchanger,
|
||||||
Block_BronzePlate, Block_IridiumTungstensteel, Block_Plascrete, Block_TungstenSteelReinforced,
|
Block_BronzePlate, Block_IridiumTungstensteel, Block_Plascrete, Block_TungstenSteelReinforced,
|
||||||
Honeycomb, Charcoal_Pile, Block_BrittleCharcoal, Seismic_Prospector, OilDrill, AdvancedMiner2, PyrolyseOven, OilCracker, Crop_Drop_UUMBerry, Crop_Drop_UUABerry, Empty_Board_Basic, Empty_Board_Elite,
|
Honeycomb, Charcoal_Pile, Block_BrittleCharcoal, Seismic_Prospector, OilDrill, AdvancedMiner2, PyrolyseOven, OilCracker, Crop_Drop_UUMBerry, Crop_Drop_UUABerry, Empty_Board_Basic, Empty_Board_Elite,
|
||||||
|
|
|
@ -33,6 +33,9 @@ public class GT_Block_Casings4
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Fusion Coil");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Fusion Coil");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Fusion Casing MK II");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Fusion Casing MK II");
|
||||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Turbine Casing");
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Turbine Casing");
|
||||||
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Stainless Steel Turbine Casing");
|
||||||
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Titanium Turbine Casing");
|
||||||
|
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Tungstensteel Turbine Casing");
|
||||||
|
|
||||||
ItemList.Casing_RobustTungstenSteel.set(new ItemStack(this, 1, 0));
|
ItemList.Casing_RobustTungstenSteel.set(new ItemStack(this, 1, 0));
|
||||||
ItemList.Casing_CleanStainlessSteel.set(new ItemStack(this, 1, 1));
|
ItemList.Casing_CleanStainlessSteel.set(new ItemStack(this, 1, 1));
|
||||||
|
@ -42,6 +45,9 @@ public class GT_Block_Casings4
|
||||||
ItemList.Casing_Fusion_Coil.set(new ItemStack(this, 1, 7));
|
ItemList.Casing_Fusion_Coil.set(new ItemStack(this, 1, 7));
|
||||||
ItemList.Casing_Fusion2.set(new ItemStack(this, 1, 8));
|
ItemList.Casing_Fusion2.set(new ItemStack(this, 1, 8));
|
||||||
ItemList.Casing_Turbine.set(new ItemStack(this, 1, 9));
|
ItemList.Casing_Turbine.set(new ItemStack(this, 1, 9));
|
||||||
|
ItemList.Casing_Turbine1.set(new ItemStack(this, 1, 10));
|
||||||
|
ItemList.Casing_Turbine2.set(new ItemStack(this, 1, 11));
|
||||||
|
ItemList.Casing_Turbine3.set(new ItemStack(this, 1, 12));
|
||||||
}
|
}
|
||||||
|
|
||||||
public IIcon getIcon(int aSide, int aMeta) {
|
public IIcon getIcon(int aSide, int aMeta) {
|
||||||
|
@ -67,9 +73,9 @@ public class GT_Block_Casings4
|
||||||
case 9:
|
case 9:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TURBINE.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TURBINE.getIcon();
|
||||||
case 10:
|
case 10:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_CLEAN_STAINLESSSTEEL.getIcon();
|
||||||
case 11:
|
case 11:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_STABLE_TITANIUM.getIcon();
|
||||||
case 12:
|
case 12:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
||||||
case 13:
|
case 13:
|
||||||
|
@ -82,118 +88,176 @@ public class GT_Block_Casings4
|
||||||
return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public IIcon getTurbineCasing(int meta, int iconIndex, boolean active) {
|
||||||
|
switch (meta) {
|
||||||
|
case 9:
|
||||||
|
return active ? Textures.BlockIcons.TURBINE_ACTIVE[iconIndex].getIcon() : Textures.BlockIcons.TURBINE[iconIndex].getIcon();
|
||||||
|
case 10:
|
||||||
|
return active ? Textures.BlockIcons.TURBINE_ACTIVE1[iconIndex].getIcon() : Textures.BlockIcons.TURBINE1[iconIndex].getIcon();
|
||||||
|
case 11:
|
||||||
|
return active ? Textures.BlockIcons.TURBINE_ACTIVE2[iconIndex].getIcon() : Textures.BlockIcons.TURBINE2[iconIndex].getIcon();
|
||||||
|
case 12:
|
||||||
|
return active ? Textures.BlockIcons.TURBINE_ACTIVE3[iconIndex].getIcon() : Textures.BlockIcons.TURBINE3[iconIndex].getIcon();
|
||||||
|
default:
|
||||||
|
return active ? Textures.BlockIcons.TURBINE_ACTIVE[iconIndex].getIcon() : Textures.BlockIcons.TURBINE[iconIndex].getIcon();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getIcon(IBlockAccess aWorld, int xCoord, int yCoord, int zCoord, int aSide) {
|
public IIcon getIcon(IBlockAccess aWorld, int xCoord, int yCoord, int zCoord, int aSide) {
|
||||||
int tMeta = aWorld.getBlockMetadata(xCoord, yCoord, zCoord);
|
int tMeta = aWorld.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||||
if (((tMeta != 6) && (tMeta != 8) && (tMeta != 9)) || (!mConnectedMachineTextures)) {
|
if ((tMeta != 6) && (tMeta != 8) && (tMeta != 9) && (tMeta != 10) && (tMeta != 11) && (tMeta != 12) || (!mConnectedMachineTextures)) {
|
||||||
return getIcon(aSide, tMeta);
|
return getIcon(aSide, tMeta);
|
||||||
}
|
}
|
||||||
int tStartIndex = tMeta == 6 ? 1 : 13;
|
int tStartIndex = tMeta == 6 ? 1 : 13;
|
||||||
if (tMeta == 9) {
|
if ((tMeta == 9) || (tMeta == 10) || (tMeta == 11) || (tMeta == 12)) {
|
||||||
if ((aSide == 2) || (aSide == 3)) {
|
if ((aSide == 2) || (aSide == 3)) {
|
||||||
TileEntity tTileEntity;
|
TileEntity tTileEntity;
|
||||||
IMetaTileEntity tMetaTileEntity;
|
IMetaTileEntity tMetaTileEntity;
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 3 ? 1 : -1), yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 3 ? 1 : -1), yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
return getTurbineCasing(tMeta, 0, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[0].getIcon();
|
return getTurbineCasing(tMeta, 0, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[0].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 3 ? 1 : -1), yCoord, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 3 ? 1 : -1), yCoord, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
return getTurbineCasing(tMeta, 3, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[3].getIcon();
|
return getTurbineCasing(tMeta, 3, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[3].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 3 ? 1 : -1), yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 3 ? 1 : -1), yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
return getTurbineCasing(tMeta, 6, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[6].getIcon();
|
return getTurbineCasing(tMeta, 6, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[6].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
return getTurbineCasing(tMeta, 1, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[1].getIcon();
|
return getTurbineCasing(tMeta, 1, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[1].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
return getTurbineCasing(tMeta, 7, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[7].getIcon();
|
return getTurbineCasing(tMeta, 7, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[7].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 2 ? 1 : -1), yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 2 ? 1 : -1), yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
return getTurbineCasing(tMeta, 8, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[8].getIcon();
|
return getTurbineCasing(tMeta, 8, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[8].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 2 ? 1 : -1), yCoord, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 2 ? 1 : -1), yCoord, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
return getTurbineCasing(tMeta, 5, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[5].getIcon();
|
return getTurbineCasing(tMeta, 5, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[5].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 2 ? 1 : -1), yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord + (aSide == 2 ? 1 : -1), yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
return getTurbineCasing(tMeta, 2, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[2].getIcon();
|
return getTurbineCasing(tMeta, 2, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[2].getIcon();
|
||||||
}
|
}
|
||||||
} else if ((aSide == 4) || (aSide == 5)) {
|
} else if ((aSide == 4) || (aSide == 5)) {
|
||||||
TileEntity tTileEntity;
|
TileEntity tTileEntity;
|
||||||
Object tMetaTileEntity;
|
Object tMetaTileEntity;
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord + (aSide == 4 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord + (aSide == 4 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
return getTurbineCasing(tMeta, 0, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[0].getIcon();
|
return getTurbineCasing(tMeta, 0, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[0].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord, zCoord + (aSide == 4 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord, zCoord + (aSide == 4 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
return getTurbineCasing(tMeta, 3, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[3].getIcon();
|
return getTurbineCasing(tMeta, 3, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[3].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord + (aSide == 4 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord + (aSide == 4 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
return getTurbineCasing(tMeta, 6, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[6].getIcon();
|
return getTurbineCasing(tMeta, 6, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[6].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
return getTurbineCasing(tMeta, 1, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[1].getIcon();
|
return getTurbineCasing(tMeta, 1, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[1].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
return getTurbineCasing(tMeta, 7, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[7].getIcon();
|
return getTurbineCasing(tMeta, 7, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[7].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord + (aSide == 5 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord + 1, zCoord + (aSide == 5 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
return getTurbineCasing(tMeta, 8, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[8].getIcon();
|
return getTurbineCasing(tMeta, 8, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[8].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord, zCoord + (aSide == 5 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord, zCoord + (aSide == 5 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
return getTurbineCasing(tMeta, 5, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[5].getIcon();
|
return getTurbineCasing(tMeta, 5, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[5].getIcon();
|
||||||
}
|
}
|
||||||
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord + (aSide == 5 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
if ((null != (tTileEntity = aWorld.getTileEntity(xCoord, yCoord - 1, zCoord + (aSide == 5 ? 1 : -1)))) && ((tTileEntity instanceof IGregTechTileEntity)) && (((IGregTechTileEntity) tTileEntity).getFrontFacing() == aSide) && (null != (tMetaTileEntity = ((IGregTechTileEntity) tTileEntity).getMetaTileEntity())) && ((tMetaTileEntity instanceof GT_MetaTileEntity_LargeTurbine))) {
|
||||||
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
if (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||||
return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
return getTurbineCasing(tMeta, 2, true);
|
||||||
|
//return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
||||||
}
|
}
|
||||||
return Textures.BlockIcons.TURBINE[2].getIcon();
|
return getTurbineCasing(tMeta, 2, false);
|
||||||
|
//return Textures.BlockIcons.TURBINE[2].getIcon();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
switch (tMeta) {
|
||||||
|
case 9:
|
||||||
return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
|
||||||
|
case 10:
|
||||||
|
return Textures.BlockIcons.MACHINE_CASING_CLEAN_STAINLESSSTEEL.getIcon();
|
||||||
|
case 11:
|
||||||
|
return Textures.BlockIcons.MACHINE_CASING_STABLE_TITANIUM.getIcon();
|
||||||
|
case 12:
|
||||||
|
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
||||||
|
default:
|
||||||
|
return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
boolean[] tConnectedSides = {(aWorld.getBlock(xCoord, yCoord - 1, zCoord) == this) && (aWorld.getBlockMetadata(xCoord, yCoord - 1, zCoord) == tMeta), (aWorld.getBlock(xCoord, yCoord + 1, zCoord) == this) && (aWorld.getBlockMetadata(xCoord, yCoord + 1, zCoord) == tMeta), (aWorld.getBlock(xCoord + 1, yCoord, zCoord) == this) && (aWorld.getBlockMetadata(xCoord + 1, yCoord, zCoord) == tMeta), (aWorld.getBlock(xCoord, yCoord, zCoord + 1) == this) && (aWorld.getBlockMetadata(xCoord, yCoord, zCoord + 1) == tMeta), (aWorld.getBlock(xCoord - 1, yCoord, zCoord) == this) && (aWorld.getBlockMetadata(xCoord - 1, yCoord, zCoord) == tMeta), (aWorld.getBlock(xCoord, yCoord, zCoord - 1) == this) && (aWorld.getBlockMetadata(xCoord, yCoord, zCoord - 1) == tMeta)};
|
boolean[] tConnectedSides = {(aWorld.getBlock(xCoord, yCoord - 1, zCoord) == this) && (aWorld.getBlockMetadata(xCoord, yCoord - 1, zCoord) == tMeta), (aWorld.getBlock(xCoord, yCoord + 1, zCoord) == this) && (aWorld.getBlockMetadata(xCoord, yCoord + 1, zCoord) == tMeta), (aWorld.getBlock(xCoord + 1, yCoord, zCoord) == this) && (aWorld.getBlockMetadata(xCoord + 1, yCoord, zCoord) == tMeta), (aWorld.getBlock(xCoord, yCoord, zCoord + 1) == this) && (aWorld.getBlockMetadata(xCoord, yCoord, zCoord + 1) == tMeta), (aWorld.getBlock(xCoord - 1, yCoord, zCoord) == this) && (aWorld.getBlockMetadata(xCoord - 1, yCoord, zCoord) == tMeta), (aWorld.getBlock(xCoord, yCoord, zCoord - 1) == this) && (aWorld.getBlockMetadata(xCoord, yCoord, zCoord - 1) == tMeta)};
|
||||||
switch (aSide) {
|
switch (aSide) {
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE5) : Textures.BlockIcons.CASING_BLOCKS[57]};
|
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_SS_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_SS5) : Textures.BlockIcons.CASING_BLOCKS[59]};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
"1x Dynamo Hatch (back centered)",
|
"1x Dynamo Hatch (back centered)",
|
||||||
"1x Maintenance Hatch (side centered)",
|
"1x Maintenance Hatch (side centered)",
|
||||||
"1x Muffler Hatch (side centered)",
|
"1x Muffler Hatch (side centered)",
|
||||||
"Turbine Casings for the rest (24 at least!)",
|
"Stainless Steel Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,12 +66,12 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingMeta() {
|
public byte getCasingMeta() {
|
||||||
return 9;
|
return 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingTextureIndex() {
|
public byte getCasingTextureIndex() {
|
||||||
return 46;
|
return 59;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE5) : Textures.BlockIcons.CASING_BLOCKS[57]};
|
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_SS_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_SS5) : Textures.BlockIcons.CASING_BLOCKS[58]};
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
|
@ -38,7 +38,7 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
"1x Input Hatch (side centered)", "1x Output Hatch(side centered)",
|
"1x Input Hatch (side centered)", "1x Output Hatch(side centered)",
|
||||||
"1x Dynamo Hatch (back centered)",
|
"1x Dynamo Hatch (back centered)",
|
||||||
"1x Maintenance Hatch (side centered)",
|
"1x Maintenance Hatch (side centered)",
|
||||||
"Turbine Casings for the rest (24 at least!)",
|
"Stainless Steel Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,12 +54,12 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingMeta() {
|
public byte getCasingMeta() {
|
||||||
return 9;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingTextureIndex() {
|
public byte getCasingTextureIndex() {
|
||||||
return 46;
|
return 58;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE5) : Textures.BlockIcons.CASING_BLOCKS[57]};
|
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_TU_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_TU5) : Textures.BlockIcons.CASING_BLOCKS[60]};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
"1x Input Hatch (side centered)",
|
"1x Input Hatch (side centered)",
|
||||||
"1x Dynamo Hatch (back centered)",
|
"1x Dynamo Hatch (back centered)",
|
||||||
"1x Maintenance Hatch (side centered)",
|
"1x Maintenance Hatch (side centered)",
|
||||||
"Turbine Casings for the rest (24 at least!)",
|
"Tungstensteel Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,12 +65,12 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingMeta() {
|
public byte getCasingMeta() {
|
||||||
return 9;
|
return 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingTextureIndex() {
|
public byte getCasingTextureIndex() {
|
||||||
return 46;
|
return 60;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class GT_MetaTileEntity_LargeTurbine_Steam extends GT_MetaTileEntity_Larg
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE5) : Textures.BlockIcons.CASING_BLOCKS[57]};
|
return new ITexture[]{Textures.BlockIcons.MACHINE_CASINGS[1][aColorIndex + 1], aFacing == aSide ? aActive ? new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_ST_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_ST5) : Textures.BlockIcons.CASING_BLOCKS[57]};
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
|
|
|
@ -52,6 +52,9 @@ public class GT_Loader_MetaTileEntities
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.Casing_CleanStainlessSteel.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.StainlessSteel), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.StainlessSteel)});
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_CleanStainlessSteel.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.StainlessSteel), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.StainlessSteel)});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.Casing_RobustTungstenSteel.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.TungstenSteel), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.TungstenSteel)});
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_RobustTungstenSteel.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.TungstenSteel), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.TungstenSteel)});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Turbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Magnalium), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.BlueSteel)});
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Turbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Magnalium), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.BlueSteel)});
|
||||||
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Turbine1.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.StainlessSteel), Character.valueOf('F'), ItemList.Casing_Turbine});
|
||||||
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Turbine2.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Titanium), Character.valueOf('F'), ItemList.Casing_Turbine});
|
||||||
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Turbine3.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PhP", "PFP", "PwP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.TungstenSteel), Character.valueOf('F'), ItemList.Casing_Turbine});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Pipe_Bronze.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PIP", "IFI", "PIP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Bronze), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.Bronze), Character.valueOf('I'), OrePrefixes.pipeMedium.get(Materials.Bronze)});
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Pipe_Bronze.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PIP", "IFI", "PIP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Bronze), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.Bronze), Character.valueOf('I'), OrePrefixes.pipeMedium.get(Materials.Bronze)});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Pipe_Steel.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PIP", "IFI", "PIP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Steel), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.Steel), Character.valueOf('I'), OrePrefixes.pipeMedium.get(Materials.Steel)});
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Pipe_Steel.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PIP", "IFI", "PIP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Steel), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.Steel), Character.valueOf('I'), OrePrefixes.pipeMedium.get(Materials.Steel)});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Pipe_Titanium.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PIP", "IFI", "PIP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Titanium), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.Titanium), Character.valueOf('I'), OrePrefixes.pipeMedium.get(Materials.Titanium)});
|
GT_ModHandler.addCraftingRecipe(ItemList.Casing_Pipe_Titanium.get(1L, new Object[0]), GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PIP", "IFI", "PIP", Character.valueOf('P'), OrePrefixes.plate.get(Materials.Titanium), Character.valueOf('F'), OrePrefixes.frameGt.get(Materials.Titanium), Character.valueOf('I'), OrePrefixes.pipeMedium.get(Materials.Titanium)});
|
||||||
|
@ -958,8 +961,8 @@ public class GT_Loader_MetaTileEntities
|
||||||
ItemList.LargePlasmaTurbine.set(new GT_MetaTileEntity_LargeTurbine_Plasma(1153, "multimachine.largeplasmaturbine", "Large Plasma Generator").getStackForm(1L));
|
ItemList.LargePlasmaTurbine.set(new GT_MetaTileEntity_LargeTurbine_Plasma(1153, "multimachine.largeplasmaturbine", "Large Plasma Generator").getStackForm(1L));
|
||||||
|
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.LargeSteamTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_HV, 'B', OrePrefixes.pipeLarge.get(Materials.StainlessSteel), 'C', OrePrefixes.circuit.get(Materials.Advanced), 'P', OrePrefixes.gearGt.get(Materials.Steel)});
|
GT_ModHandler.addCraftingRecipe(ItemList.LargeSteamTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_HV, 'B', OrePrefixes.pipeLarge.get(Materials.StainlessSteel), 'C', OrePrefixes.circuit.get(Materials.Advanced), 'P', OrePrefixes.gearGt.get(Materials.Steel)});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.LargeGasTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_EV, 'B', OrePrefixes.pipeLarge.get(Materials.Titanium), 'C', OrePrefixes.circuit.get(Materials.Elite), 'P', OrePrefixes.gearGt.get(Materials.Titanium)});
|
GT_ModHandler.addCraftingRecipe(ItemList.LargeGasTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_EV, 'B', OrePrefixes.pipeLarge.get(Materials.Titanium), 'C', OrePrefixes.circuit.get(Materials.Elite), 'P', OrePrefixes.gearGt.get(Materials.StainlessSteel)});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.LargeHPSteamTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_IV, 'B', OrePrefixes.pipeLarge.get(Materials.TungstenSteel), 'C', OrePrefixes.circuit.get(Materials.Master), 'P', OrePrefixes.gearGt.get(Materials.TungstenSteel)});
|
GT_ModHandler.addCraftingRecipe(ItemList.LargeHPSteamTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_EV, 'B', OrePrefixes.pipeLarge.get(Materials.Titanium), 'C', OrePrefixes.circuit.get(Materials.Elite), 'P', OrePrefixes.gearGt.get(Materials.StainlessSteel)});
|
||||||
GT_ModHandler.addCraftingRecipe(ItemList.LargePlasmaTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_UV, 'B', OrePrefixes.pipeHuge.get(Materials.TungstenSteel), 'C', OrePrefixes.circuit.get(Materials.Master), 'P', OrePrefixes.gearGt.get(Materials.TungstenSteel)});
|
GT_ModHandler.addCraftingRecipe(ItemList.LargePlasmaTurbine.get(1L, new Object[0]), GT_ModHandler.RecipeBits.DISMANTLEABLE | GT_ModHandler.RecipeBits.NOT_REMOVABLE | GT_ModHandler.RecipeBits.REVERSIBLE | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"CPC", "PMP", "BPB", 'M', ItemList.Hull_UV, 'B', OrePrefixes.pipeHuge.get(Materials.TungstenSteel), 'C', OrePrefixes.circuit.get(Materials.Master), 'P', OrePrefixes.gearGt.get(Materials.TungstenSteel)});
|
||||||
|
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 476 B |
After Width: | Height: | Size: 494 B |
After Width: | Height: | Size: 500 B |
After Width: | Height: | Size: 528 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 521 B |
After Width: | Height: | Size: 497 B |
After Width: | Height: | Size: 504 B |
After Width: | Height: | Size: 479 B |
After Width: | Height: | Size: 623 B |
After Width: | Height: | Size: 852 B |
After Width: | Height: | Size: 657 B |
After Width: | Height: | Size: 931 B |
After Width: | Height: | Size: 890 B |
After Width: | Height: | Size: 950 B |
After Width: | Height: | Size: 633 B |
After Width: | Height: | Size: 864 B |
After Width: | Height: | Size: 631 B |
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 571 B After Width: | Height: | Size: 571 B |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 652 B |
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 761 B After Width: | Height: | Size: 761 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 798 B After Width: | Height: | Size: 798 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 949 B After Width: | Height: | Size: 949 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 868 B After Width: | Height: | Size: 868 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 547 B |
After Width: | Height: | Size: 530 B |
After Width: | Height: | Size: 577 B |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 554 B |
After Width: | Height: | Size: 585 B |
After Width: | Height: | Size: 545 B |
After Width: | Height: | Size: 548 B |
After Width: | Height: | Size: 693 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 897 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 736 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 968 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 890 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 971 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 732 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 909 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 693 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 526 B |
After Width: | Height: | Size: 519 B |
After Width: | Height: | Size: 551 B |
After Width: | Height: | Size: 553 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 543 B |
After Width: | Height: | Size: 556 B |
After Width: | Height: | Size: 530 B |
After Width: | Height: | Size: 523 B |
After Width: | Height: | Size: 684 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|