diff options
| author | miozune <miozune@gmail.com> | 2023-11-14 00:45:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-13 15:45:10 +0000 |
| commit | 825151fe803929abbd4ea9e8e1cad66fc09086a4 (patch) | |
| tree | 822e4e16ca00c0d6f75767401d4b35d2c1304ceb /src/main/java/gtPlusPlus/xmod/gregtech/api | |
| parent | e1a12046e015abd635ff574a75191b397d0937eb (diff) | |
| download | GT5-Unofficial-825151fe803929abbd4ea9e8e1cad66fc09086a4.tar.gz GT5-Unofficial-825151fe803929abbd4ea9e8e1cad66fc09086a4.tar.bz2 GT5-Unofficial-825151fe803929abbd4ea9e8e1cad66fc09086a4.zip | |
Cleanup basic machines and textures (#779)
* Cleanup dehydrator
* Cleanup reactor processing unit
* Cleanup cold trap
* Cleanup simple washer
* Cleanup unused textures
* updateBuildScript
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/api')
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java | 170 |
1 files changed, 0 insertions, 170 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java deleted file mode 100644 index a99cfcfea9..0000000000 --- a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Dehydrator.java +++ /dev/null @@ -1,170 +0,0 @@ -package gtPlusPlus.xmod.gregtech.api.metatileentity.implementations; - -import static gregtech.api.enums.Textures.BlockIcons.MACHINE_CASINGS; -import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_PIPE_OUT; - -import net.minecraftforge.common.util.ForgeDirection; - -import gregtech.api.enums.SoundResource; -import gregtech.api.enums.Textures; -import gregtech.api.enums.Textures.BlockIcons.CustomIcon; -import gregtech.api.interfaces.ITexture; -import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_GT_Recipe; -import gregtech.api.objects.GT_RenderedTexture; -import gregtech.api.render.TextureFactory; -import gregtech.api.util.GTPP_Recipe; -import gtPlusPlus.core.lib.CORE; - -@SuppressWarnings("deprecation") -public class GT_MetaTileEntity_Dehydrator extends GT_MetaTileEntity_BasicMachine_GT_Recipe { - - private static final CustomIcon[] sDehydratorOverlays = new CustomIcon[10]; - - static { - sDehydratorOverlays[0] = new CustomIcon("basicmachines/microwave/OVERLAY_FRONT"); - sDehydratorOverlays[2] = new CustomIcon("basicmachines/plasma_arc_furnace/OVERLAY_BOTTOM"); - sDehydratorOverlays[3] = new CustomIcon("basicmachines/fluid_heater/OVERLAY_SIDE"); - sDehydratorOverlays[4] = new CustomIcon("basicmachines/chemical_bath/OVERLAY_FRONT"); - sDehydratorOverlays[5] = new CustomIcon("basicmachines/microwave/OVERLAY_FRONT_ACTIVE"); - sDehydratorOverlays[7] = new CustomIcon("basicmachines/plasma_arc_furnace/OVERLAY_BOTTOM_ACTIVE"); - sDehydratorOverlays[8] = new CustomIcon("basicmachines/fluid_heater/OVERLAY_SIDE_ACTIVE"); - sDehydratorOverlays[9] = new CustomIcon("basicmachines/chemical_bath/OVERLAY_FRONT_ACTIVE"); - // 3 8 - } - - public GT_MetaTileEntity_Dehydrator(int aID, String aName, String aNameRegional, int aTier, String aDescription, - int aTankCapacity) { - super( - aID, - aName, - aNameRegional, - aTier, - aDescription, - GTPP_Recipe.GTPP_Recipe_Map.sChemicalDehydratorRecipes, - 2, - 9, - aTankCapacity, - SoundResource.NONE, - false, - false, - SpecialEffects.NONE, - "", - null); - } - - @Override - public String[] getDescription() { - String[] S = super.getDescription(); - final String[] desc = new String[S.length + 1]; - System.arraycopy(S, 0, desc, 0, S.length); - desc[S.length] = CORE.GT_Tooltip.get(); - return desc; - } - - @Override - public ITexture[][][] getTextureSet(final ITexture[] aTextures) { - final ITexture[][][] rTextures = new ITexture[15][17][]; - for (byte i = -1; i < 16; i++) { - rTextures[0][i + 1] = getSideFacingActive(i); - rTextures[1][i + 1] = getSideFacingInactive(i); - rTextures[2][i + 1] = getFrontFacingActive(i); - rTextures[3][i + 1] = getFrontFacingInactive(i); - rTextures[4][i + 1] = getTopFacingActive(i); - rTextures[5][i + 1] = getTopFacingInactive(i); - rTextures[6][i + 1] = getBottomFacingActive(i); - rTextures[7][i + 1] = getBottomFacingInactive(i); - rTextures[8][i + 1] = getBottomFacingPipeActive(i); - rTextures[9][i + 1] = getBottomFacingPipeInactive(i); - rTextures[10][i + 1] = getTopFacingPipeActive(i); - rTextures[11][i + 1] = getTopFacingPipeInactive(i); - rTextures[12][i + 1] = getSideFacingPipeActive(i); - rTextures[13][i + 1] = getSideFacingPipeInactive(i); - } - return rTextures; - } - - @Override - public ITexture[] getTexture(final IGregTechTileEntity aBaseMetaTileEntity, final ForgeDirection side, - final ForgeDirection facing, final int aColorIndex, final boolean aActive, final boolean aRedstone) { - return super.getTexture(aBaseMetaTileEntity, side, facing, aColorIndex, aActive, aRedstone); - } - - @Override - public ITexture[] getFrontFacingInactive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[0]) }; - } - - @Override - public ITexture[] getBottomFacingInactive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[2]) }; - } - - @Override - public ITexture[] getTopFacingInactive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[3]) }; - } - - @Override - public ITexture[] getSideFacingInactive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[4]) }; - } - - @Override - public ITexture[] getFrontFacingActive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[5]) }; - } - - @Override - public ITexture[] getBottomFacingActive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[7]) }; - } - - @Override - public ITexture[] getTopFacingActive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[8]) }; - } - - @Override - public ITexture[] getSideFacingActive(final byte aColor) { - return new ITexture[] { Textures.BlockIcons.MACHINE_CASINGS[this.mTier][aColor + 1], - new GT_RenderedTexture(sDehydratorOverlays[9]) }; - } - - @Override - public ITexture[] getBottomFacingPipeActive(byte aColor) { - return new ITexture[] { MACHINE_CASINGS[mTier][aColor + 1], TextureFactory.of(OVERLAY_PIPE_OUT) }; - } - - @Override - public ITexture[] getBottomFacingPipeInactive(byte aColor) { - return new ITexture[] { MACHINE_CASINGS[mTier][aColor + 1], TextureFactory.of(OVERLAY_PIPE_OUT) }; - } - - @Override - public ITexture[] getTopFacingPipeActive(byte aColor) { - return new ITexture[] { MACHINE_CASINGS[mTier][aColor + 1], TextureFactory.of(OVERLAY_PIPE_OUT) }; - } - - @Override - public ITexture[] getTopFacingPipeInactive(byte aColor) { - return new ITexture[] { MACHINE_CASINGS[mTier][aColor + 1], TextureFactory.of(OVERLAY_PIPE_OUT) }; - } - - @Override - public ITexture[] getSideFacingPipeActive(byte aColor) { - return new ITexture[] { MACHINE_CASINGS[mTier][aColor + 1], TextureFactory.of(OVERLAY_PIPE_OUT) }; - } - - @Override - public ITexture[] getSideFacingPipeInactive(byte aColor) { - return new ITexture[] { MACHINE_CASINGS[mTier][aColor + 1], TextureFactory.of(OVERLAY_PIPE_OUT) }; - } -} |
