diff options
author | Raven Szewczyk <git@eigenraven.me> | 2024-05-25 13:32:28 +0100 |
---|---|---|
committer | Raven Szewczyk <git@eigenraven.me> | 2024-05-25 13:32:28 +0100 |
commit | ec910ff188fe0600182e00f3c279c37998ebaf4b (patch) | |
tree | 7886ce61cb8ad65d670e8ee4c7b996e75268b483 /src/main/java/common/tileentities/GTMTE_TFFTHatch.java | |
parent | 2cac4baea3a0e6c671dc44cd3199cf476a6eec94 (diff) | |
download | GT5-Unofficial-ec910ff188fe0600182e00f3c279c37998ebaf4b.tar.gz GT5-Unofficial-ec910ff188fe0600182e00f3c279c37998ebaf4b.tar.bz2 GT5-Unofficial-ec910ff188fe0600182e00f3c279c37998ebaf4b.zip |
Update formatting to GT5u spotless config
Diffstat (limited to 'src/main/java/common/tileentities/GTMTE_TFFTHatch.java')
-rw-r--r-- | src/main/java/common/tileentities/GTMTE_TFFTHatch.java | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/main/java/common/tileentities/GTMTE_TFFTHatch.java b/src/main/java/common/tileentities/GTMTE_TFFTHatch.java index 945f99ea2e..39eb6dee64 100644 --- a/src/main/java/common/tileentities/GTMTE_TFFTHatch.java +++ b/src/main/java/common/tileentities/GTMTE_TFFTHatch.java @@ -34,22 +34,22 @@ import gregtech.api.render.TextureFactory; public class GTMTE_TFFTHatch extends GT_MetaTileEntity_Hatch implements IMEMonitor<IAEFluidStack> { @Optional.Interface( - iface = "appeng.api.storage.IExternalStorageHandler", - modid = "appliedenergistics2", - striprefs = true) + iface = "appeng.api.storage.IExternalStorageHandler", + modid = "appliedenergistics2", + striprefs = true) private static class AE2TFFTHatchHandler implements IExternalStorageHandler { @Override @Optional.Method(modid = "appliedenergistics2") public boolean canHandle(TileEntity te, ForgeDirection d, StorageChannel channel, BaseActionSource mySrc) { return channel == StorageChannel.FLUIDS && te instanceof BaseMetaTileEntity - && ((BaseMetaTileEntity) te).getMetaTileEntity() instanceof GTMTE_TFFTHatch; + && ((BaseMetaTileEntity) te).getMetaTileEntity() instanceof GTMTE_TFFTHatch; } @Override @Optional.Method(modid = "appliedenergistics2") public IMEInventory getInventory(TileEntity te, ForgeDirection d, StorageChannel channel, - BaseActionSource src) { + BaseActionSource src) { if (channel == StorageChannel.FLUIDS) { return ((GTMTE_TFFTHatch) (((BaseMetaTileEntity) te).getMetaTileEntity())); } @@ -58,7 +58,7 @@ public class GTMTE_TFFTHatch extends GT_MetaTileEntity_Hatch implements IMEMonit } private static final Textures.BlockIcons.CustomIcon TEXTURE_TFFT_HATCH = new Textures.BlockIcons.CustomIcon( - "iconsets/TFFT_HATCH"); + "iconsets/TFFT_HATCH"); private HashMap<IMEMonitorHandlerReceiver<IAEFluidStack>, Object> listeners = new HashMap<>(); private GTMTE_TFFT controller; @@ -78,20 +78,26 @@ public class GTMTE_TFFTHatch extends GT_MetaTileEntity_Hatch implements IMEMonit @Override public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, ForgeDirection side, ForgeDirection facing, - int colorIndex, boolean aActive, boolean aRedstone) { + int colorIndex, boolean aActive, boolean aRedstone) { return super.getTexture(aBaseMetaTileEntity, side, facing, colorIndex, aActive, aRedstone); } @Override public ITexture[] getTexturesActive(ITexture aBaseTexture) { return new ITexture[] { aBaseTexture, TextureFactory.of(Textures.BlockIcons.OVERLAY_PIPE_IN), - TextureFactory.builder().addIcon(TEXTURE_TFFT_HATCH).extFacing().build() }; + TextureFactory.builder() + .addIcon(TEXTURE_TFFT_HATCH) + .extFacing() + .build() }; } @Override public ITexture[] getTexturesInactive(ITexture aBaseTexture) { return new ITexture[] { aBaseTexture, TextureFactory.of(Textures.BlockIcons.OVERLAY_PIPE_IN), - TextureFactory.builder().addIcon(TEXTURE_TFFT_HATCH).extFacing().build() }; + TextureFactory.builder() + .addIcon(TEXTURE_TFFT_HATCH) + .extFacing() + .build() }; } @Override @@ -140,7 +146,10 @@ public class GTMTE_TFFTHatch extends GT_MetaTileEntity_Hatch implements IMEMonit @Optional.Method(modid = "appliedenergistics2") public static void registerAEIntegration() { - AEApi.instance().registries().externalStorage().addExternalStorageInterface(new AE2TFFTHatchHandler()); + AEApi.instance() + .registries() + .externalStorage() + .addExternalStorageInterface(new AE2TFFTHatchHandler()); } @Override |