diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2018-04-16 20:56:02 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2018-04-16 20:56:02 +1000 |
commit | 8c03170c38ef203c1264453ab04e9a9e80248708 (patch) | |
tree | 0d68685d9eb23a587385bd733e0df5ccff754d79 /src/Java/gtPlusPlus/xmod/gregtech | |
parent | b9e2df8a29b3903b07c7a2ba187acc5f3f960ce8 (diff) | |
download | GT5-Unofficial-8c03170c38ef203c1264453ab04e9a9e80248708.tar.gz GT5-Unofficial-8c03170c38ef203c1264453ab04e9a9e80248708.tar.bz2 GT5-Unofficial-8c03170c38ef203c1264453ab04e9a9e80248708.zip |
$ Fixed Advanced Cryogenic Freezer casing textures for hatches & busses.
- Removed shapeless recipes for Pyrotheum and Cryotheum dust in GTNH.
+ Added Mixer recipes for Pyrotheum and Cryotheum dusts.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java index f087f72265..9e5ccf0dc0 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java @@ -21,21 +21,21 @@ import gregtech.api.interfaces.metatileentity.IMetaTileEntity; import gregtech.api.interfaces.tileentity.IGregTechTileEntity; public class GregtechMetaTileEntity_IndustrialVacuumFreezer extends GregtechMeta_MultiBlockBase { - + public static int CASING_TEXTURE_ID; public static String mCryoFuelName = "Gelid Cryotheum"; public static String mCasingName = "Advanced Crygenic Casing"; - + public GregtechMetaTileEntity_IndustrialVacuumFreezer(final int aID, final String aName, final String aNameRegional) { super(aID, aName, aNameRegional); - CASING_TEXTURE_ID = TAE.getIndexFromPage(3, 10); + CASING_TEXTURE_ID = TAE.getIndexFromPage(2, 10); mCryoFuelName = FluidUtils.getFluidStack("cryotheum", 1).getLocalizedName(); mCasingName = GregtechItemList.Casing_AdvancedVacuum.get(1).getDisplayName(); } public GregtechMetaTileEntity_IndustrialVacuumFreezer(final String aName) { super(aName); - CASING_TEXTURE_ID = TAE.getIndexFromPage(3, 10); + CASING_TEXTURE_ID = TAE.getIndexFromPage(2, 10); mCryoFuelName = FluidUtils.getFluidStack("cryotheum", 1).getLocalizedName(); mCasingName = GregtechItemList.Casing_AdvancedVacuum.get(1).getDisplayName(); } @@ -63,12 +63,12 @@ public class GregtechMetaTileEntity_IndustrialVacuumFreezer extends GregtechMeta public ITexture[] getTexture(final IGregTechTileEntity aBaseMetaTileEntity, final byte aSide, final byte aFacing, final byte aColorIndex, final boolean aActive, final boolean aRedstone) { if (aSide == aFacing) { - return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[106], + return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[CASING_TEXTURE_ID], new GT_RenderedTexture((IIconContainer) (aActive ? Textures.BlockIcons.OVERLAY_FRONT_VACUUM_FREEZER_ACTIVE - : Textures.BlockIcons.OVERLAY_FRONT_VACUUM_FREEZER))}; + : Textures.BlockIcons.OVERLAY_FRONT_VACUUM_FREEZER))}; } - return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[106]}; + return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[CASING_TEXTURE_ID]}; } public Object getClientGUI(final int aID, final InventoryPlayer aPlayerInventory, @@ -106,12 +106,8 @@ public class GregtechMetaTileEntity_IndustrialVacuumFreezer extends GregtechMeta if (h != 0 || ((xDir + i != 0 || zDir + j != 0) && (i != 0 || j != 0))) { final IGregTechTileEntity tTileEntity = aBaseMetaTileEntity .getIGregTechTileEntityOffset(xDir + i, h, zDir + j); - if (!this.addMaintenanceToMachineList(tTileEntity, CASING_TEXTURE_ID) - && !this.addInputToMachineList(tTileEntity, CASING_TEXTURE_ID) - && !this.addOutputToMachineList(tTileEntity, CASING_TEXTURE_ID) - && !this.addEnergyInputToMachineList(tTileEntity, CASING_TEXTURE_ID)) { - if (aBaseMetaTileEntity.getBlockOffset(xDir + i, h, - zDir + j) != ModBlocks.blockCasings3Misc) { + if (!this.addToMachineList(tTileEntity, CASING_TEXTURE_ID)) { + if (aBaseMetaTileEntity.getBlockOffset(xDir + i, h, zDir + j) != ModBlocks.blockCasings3Misc) { return false; } if (aBaseMetaTileEntity.getMetaIDOffset(xDir + i, h, zDir + j) != 10) { |