|
@ -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,
|
||||
|
||||
NULL, Cover_RedstoneTransmitterExternal, Cover_RedstoneTransmitterInternal, Cover_RedstoneReceiverExternal, Cover_RedstoneReceiverInternal,
|
||||
LargeSteamTurbine, LargeGasTurbine, LargeHPSteamTurbine, LargePlasmaTurbine, LargeDieselTurbine,
|
||||
LargeSteamTurbine, LargeGasTurbine, LargeHPSteamTurbine, LargePlasmaTurbine,
|
||||
Ingot_Heavy1, Ingot_Heavy2, Ingot_Heavy3,
|
||||
Pump_LV, Pump_MV, Pump_HV, Pump_EV, Pump_IV,
|
||||
Teleporter, Cover_NeedsMaintainance, Casing_Turbine, Casing_Turbine1, Casing_Turbine2, Casing_Turbine3,
|
||||
Teleporter, Cover_NeedsMaintainance, Casing_Turbine,
|
||||
MobRep_LV, MobRep_MV, MobRep_HV, MobRep_EV, MobRep_IV, Cover_PlayerDetector, Machine_Multi_HeatExchanger,
|
||||
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,
|
||||
|
|
|
@ -9,7 +9,6 @@ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
|
|||
import gregtech.api.objects.GT_CopiedBlockTexture;
|
||||
import gregtech.api.util.GT_LanguageManager;
|
||||
import gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeTurbine;
|
||||
import mods.railcraft.client.util.textures.Texture;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
|
@ -34,9 +33,6 @@ public class GT_Block_Casings4
|
|||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Fusion Coil");
|
||||
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Fusion Casing MK II");
|
||||
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_CleanStainlessSteel.set(new ItemStack(this, 1, 1));
|
||||
|
@ -46,9 +42,6 @@ public class GT_Block_Casings4
|
|||
ItemList.Casing_Fusion_Coil.set(new ItemStack(this, 1, 7));
|
||||
ItemList.Casing_Fusion2.set(new ItemStack(this, 1, 8));
|
||||
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) {
|
||||
|
@ -74,9 +67,9 @@ public class GT_Block_Casings4
|
|||
case 9:
|
||||
return Textures.BlockIcons.MACHINE_CASING_TURBINE.getIcon();
|
||||
case 10:
|
||||
return Textures.BlockIcons.MACHINE_CASING_CLEAN_STAINLESSSTEEL.getIcon();
|
||||
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
||||
case 11:
|
||||
return Textures.BlockIcons.MACHINE_CASING_STABLE_TITANIUM.getIcon();
|
||||
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
||||
case 12:
|
||||
return Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
|
||||
case 13:
|
||||
|
@ -89,176 +82,118 @@ public class GT_Block_Casings4
|
|||
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)
|
||||
public IIcon getIcon(IBlockAccess aWorld, int xCoord, int yCoord, int zCoord, int aSide) {
|
||||
int tMeta = aWorld.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||
if ((tMeta != 6) && (tMeta != 8) && (tMeta != 9) && (tMeta != 10) && (tMeta != 11) && (tMeta != 12) || (!mConnectedMachineTextures)) {
|
||||
if (((tMeta != 6) && (tMeta != 8) && (tMeta != 9)) || (!mConnectedMachineTextures)) {
|
||||
return getIcon(aSide, tMeta);
|
||||
}
|
||||
int tStartIndex = tMeta == 6 ? 1 : 13;
|
||||
if ((tMeta == 9) || (tMeta == 10) || (tMeta == 11) || (tMeta == 12)) {
|
||||
if (tMeta == 9) {
|
||||
if ((aSide == 2) || (aSide == 3)) {
|
||||
TileEntity tTileEntity;
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 0, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 0, false);
|
||||
//return Textures.BlockIcons.TURBINE[0].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 3, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 3, false);
|
||||
//return Textures.BlockIcons.TURBINE[3].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 6, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 6, false);
|
||||
//return Textures.BlockIcons.TURBINE[6].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 1, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 1, false);
|
||||
//return Textures.BlockIcons.TURBINE[1].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 7, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 7, false);
|
||||
//return Textures.BlockIcons.TURBINE[7].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 8, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 8, false);
|
||||
//return Textures.BlockIcons.TURBINE[8].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 5, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 5, false);
|
||||
//return Textures.BlockIcons.TURBINE[5].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 2, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 2, false);
|
||||
//return Textures.BlockIcons.TURBINE[2].getIcon();
|
||||
return Textures.BlockIcons.TURBINE[2].getIcon();
|
||||
}
|
||||
} else if ((aSide == 4) || (aSide == 5)) {
|
||||
TileEntity tTileEntity;
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 0, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[0].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 0, false);
|
||||
//return Textures.BlockIcons.TURBINE[0].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 3, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[3].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 3, false);
|
||||
//return Textures.BlockIcons.TURBINE[3].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 6, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[6].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 6, false);
|
||||
//return Textures.BlockIcons.TURBINE[6].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 1, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[1].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 1, false);
|
||||
//return Textures.BlockIcons.TURBINE[1].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 7, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[7].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 7, false);
|
||||
//return Textures.BlockIcons.TURBINE[7].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 8, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[8].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 8, false);
|
||||
//return Textures.BlockIcons.TURBINE[8].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 5, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[5].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 5, false);
|
||||
//return Textures.BlockIcons.TURBINE[5].getIcon();
|
||||
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 (((IGregTechTileEntity) tTileEntity).isActive()) {
|
||||
return getTurbineCasing(tMeta, 2, true);
|
||||
//return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
||||
return Textures.BlockIcons.TURBINE_ACTIVE[2].getIcon();
|
||||
}
|
||||
return getTurbineCasing(tMeta, 2, false);
|
||||
//return Textures.BlockIcons.TURBINE[2].getIcon();
|
||||
return Textures.BlockIcons.TURBINE[2].getIcon();
|
||||
}
|
||||
}
|
||||
switch (tMeta) {
|
||||
case 9:
|
||||
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)};
|
||||
switch (aSide) {
|
||||
|
|
|
@ -28,7 +28,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
|
|||
|
||||
@Override
|
||||
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_TI_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_TI5) : Textures.BlockIcons.CASING_BLOCKS[59]};
|
||||
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]};
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
|
|||
"1x Input Hatch (side centered)",
|
||||
"1x Dynamo Hatch (back centered)",
|
||||
"1x Maintenance Hatch (side centered)",
|
||||
"Titanium Turbine Casings for the rest (24 at least!)",
|
||||
"Turbine Casings for the rest (24 at least!)",
|
||||
"Needs a Turbine Item (inside controller GUI)"};
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
|
|||
|
||||
@Override
|
||||
public byte getCasingMeta() {
|
||||
return 11;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,7 +28,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
|||
|
||||
@Override
|
||||
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_SS_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_SS5) : Textures.BlockIcons.CASING_BLOCKS[58]};
|
||||
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]};
|
||||
}
|
||||
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
|||
"1x Dynamo Hatch (back centered)",
|
||||
"1x Maintenance Hatch (side centered)",
|
||||
"1x Muffler Hatch (side centered)",
|
||||
"Stainless Steel Turbine Casings for the rest (24 at least!)",
|
||||
"Turbine Casings for the rest (24 at least!)",
|
||||
"Needs a Turbine Item (inside controller GUI)"};
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
|||
|
||||
@Override
|
||||
public byte getCasingMeta() {
|
||||
return 10;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,7 +28,7 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
|||
|
||||
@Override
|
||||
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_SS_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_SS5) : Textures.BlockIcons.CASING_BLOCKS[58]};
|
||||
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]};
|
||||
}
|
||||
|
||||
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 Dynamo Hatch (back centered)",
|
||||
"1x Maintenance Hatch (side centered)",
|
||||
"Stainless Steel Turbine Casings for the rest (24 at least!)",
|
||||
"Turbine Casings for the rest (24 at least!)",
|
||||
"Needs a Turbine Item (inside controller GUI)"};
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
|||
|
||||
@Override
|
||||
public byte getCasingMeta() {
|
||||
return 10;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,7 +28,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
|||
|
||||
@Override
|
||||
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_TU_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_TU5) : Textures.BlockIcons.CASING_BLOCKS[60]};
|
||||
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]};
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
|||
"1x Input Hatch (side centered)",
|
||||
"1x Dynamo Hatch (back centered)",
|
||||
"1x Maintenance Hatch (side centered)",
|
||||
"Tungstensteel Turbine Casings for the rest (24 at least!)",
|
||||
"Turbine Casings for the rest (24 at least!)",
|
||||
"Needs a Turbine Item (inside controller GUI)"};
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
|||
|
||||
@Override
|
||||
public byte getCasingMeta() {
|
||||
return 12;
|
||||
return 9;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,7 +30,7 @@ public class GT_MetaTileEntity_LargeTurbine_Steam extends GT_MetaTileEntity_Larg
|
|||
|
||||
@Override
|
||||
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_ST_ACTIVE5) : new GT_RenderedTexture(Textures.BlockIcons.LARGETURBINE_ST5) : Textures.BlockIcons.CASING_BLOCKS[57]};
|
||||
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]};
|
||||
}
|
||||
|
||||
public String[] getDescription() {
|
||||
|
|
Before Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 504 B |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 623 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 852 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 657 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 931 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 890 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 950 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 633 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 864 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 631 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 547 B |
Before Width: | Height: | Size: 530 B |
Before Width: | Height: | Size: 577 B |
Before Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 554 B |
Before Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 545 B |
Before Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 693 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 897 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 736 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 968 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 890 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 971 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 732 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 909 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 693 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 526 B |
Before Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 551 B |
Before Width: | Height: | Size: 553 B |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 543 B |
Before Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 530 B |
Before Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 684 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 881 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 710 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 950 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 890 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 958 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 697 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 885 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|
Before Width: | Height: | Size: 669 B |
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"animation":{}
|
||||
}
|