diff options
author | Maxim <maxim235@gmx.de> | 2023-08-28 21:52:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 21:52:54 +0200 |
commit | 01dc22529c7590f3d675d38c424a16838d44071c (patch) | |
tree | 1b2af2ac416f6d78a7547fcacfac14b99a347a09 /src/main/java/gtPlusPlus/xmod/gregtech | |
parent | e992e2653b285b18445df94e7b68af7531795ac4 (diff) | |
download | GT5-Unofficial-01dc22529c7590f3d675d38c424a16838d44071c.tar.gz GT5-Unofficial-01dc22529c7590f3d675d38c424a16838d44071c.tar.bz2 GT5-Unofficial-01dc22529c7590f3d675d38c424a16838d44071c.zip |
Added sound resource to cyclotron (#728)
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Cyclotron.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Cyclotron.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Cyclotron.java index de23a50550..c5a222e540 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Cyclotron.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_Cyclotron.java @@ -24,6 +24,7 @@ import com.gtnewhorizon.structurelib.structure.IStructureDefinition; import com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment; import com.gtnewhorizon.structurelib.structure.StructureDefinition; +import gregtech.api.enums.SoundResource; import gregtech.api.interfaces.IIconContainer; import gregtech.api.interfaces.tileentity.IGregTechTileEntity; import gregtech.api.logic.ProcessingLogic; @@ -133,6 +134,11 @@ public class GregtechMetaTileEntity_Cyclotron extends GregtechMeta_MultiBlockBas } @Override + protected SoundResource getProcessStartSound() { + return SoundResource.GT_MACHINES_FUSION_LOOP; + } + + @Override public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) { mCasing = 0; return checkPiece(mName, 7, 1, 12) && mCasing >= 40 && checkHatch(); |