Turbine Rebalance
Added 3 new turbine casings to rebalance the turbines. Also changed turbine controller recipes to fit the rebalance. Large Steam: Steel Turbine Casing Large HP Steam Turbine: Stainless Steel Turbine Casing Large Gas Turbine: Steel Turbine Casing Large Diesel Turbine: Titanium Turbine Casing Large Plasma Turbine: Tungstensteel Turbine Casing
|
@ -625,10 +625,10 @@ public enum ItemList implements IItemContainer {
|
||||||
ZPM2, Quantum_Tank_LV, Quantum_Tank_MV, Quantum_Tank_HV, Quantum_Tank_EV, Quantum_Tank_IV, Quantum_Chest_LV, Quantum_Chest_MV, Quantum_Chest_HV, Quantum_Chest_EV, Quantum_Chest_IV,
|
ZPM2, Quantum_Tank_LV, Quantum_Tank_MV, Quantum_Tank_HV, Quantum_Tank_EV, Quantum_Tank_IV, Quantum_Chest_LV, Quantum_Chest_MV, Quantum_Chest_HV, Quantum_Chest_EV, Quantum_Chest_IV,
|
||||||
|
|
||||||
NULL, Cover_RedstoneTransmitterExternal, Cover_RedstoneTransmitterInternal, Cover_RedstoneReceiverExternal, Cover_RedstoneReceiverInternal,
|
NULL, Cover_RedstoneTransmitterExternal, Cover_RedstoneTransmitterInternal, Cover_RedstoneReceiverExternal, Cover_RedstoneReceiverInternal,
|
||||||
LargeSteamTurbine, LargeGasTurbine, LargeHPSteamTurbine, LargePlasmaTurbine,
|
LargeSteamTurbine, LargeGasTurbine, LargeHPSteamTurbine, LargePlasmaTurbine, LargeDieselTurbine,
|
||||||
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,
|
||||||
|
|
|
@ -9,6 +9,7 @@ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
|
||||||
import gregtech.api.objects.GT_CopiedBlockTexture;
|
import gregtech.api.objects.GT_CopiedBlockTexture;
|
||||||
import gregtech.api.util.GT_LanguageManager;
|
import gregtech.api.util.GT_LanguageManager;
|
||||||
import gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeTurbine;
|
import gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeTurbine;
|
||||||
|
import mods.railcraft.client.util.textures.Texture;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.IIcon;
|
import net.minecraft.util.IIcon;
|
||||||
|
@ -33,6 +34,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 +46,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 +74,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 +89,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_Diesel 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_TI_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_TI5) : Textures.BlockIcons.CASING_BLOCKS[59]};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel 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!)",
|
"Titanium Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingMeta() {
|
public byte getCasingMeta() {
|
||||||
return 9;
|
return 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -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[58]};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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,7 +66,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingMeta() {
|
public byte getCasingMeta() {
|
||||||
return 9;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@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,7 +54,7 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingMeta() {
|
public byte getCasingMeta() {
|
||||||
return 9;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@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,7 +65,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte getCasingMeta() {
|
public byte getCasingMeta() {
|
||||||
return 9;
|
return 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
@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() {
|
||||||
|
|
1304
src/main/java/gregtech/preload/GT_Loader_MetaTileEntities.java
Normal file
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 |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 852 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 657 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 931 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 890 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 950 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 633 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 864 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 631 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":{}
|
||||||
|
}
|
After Width: | Height: | Size: 881 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 710 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 950 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 890 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 958 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 697 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 885 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|
After Width: | Height: | Size: 669 B |
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"animation":{}
|
||||||
|
}
|