Merge pull request #501 from TheJulianJES/Sound-Fix

Fixed sounds of Crank and CGA
This commit is contained in:
thatsIch 2014-11-27 19:31:56 +01:00
commit bae7f34875
2 changed files with 3 additions and 0 deletions

View file

@ -43,6 +43,7 @@ public class BlockCrank extends AEBaseBlock
public BlockCrank() { public BlockCrank() {
super( BlockCrank.class, Material.wood ); super( BlockCrank.class, Material.wood );
setStepSound( Block.soundTypeWood );
setFeature( EnumSet.of( AEFeature.GrindStone ) ); setFeature( EnumSet.of( AEFeature.GrindStone ) );
setTileEntity( TileCrank.class ); setTileEntity( TileCrank.class );
setLightOpacity( 0 ); setLightOpacity( 0 );

View file

@ -21,6 +21,7 @@ package appeng.block.misc;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.Random; import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.world.IBlockAccess; import net.minecraft.world.IBlockAccess;
@ -46,6 +47,7 @@ public class BlockQuartzGrowthAccelerator extends AEBaseBlock implements IOrient
public BlockQuartzGrowthAccelerator() { public BlockQuartzGrowthAccelerator() {
super( BlockQuartzGrowthAccelerator.class, Material.rock ); super( BlockQuartzGrowthAccelerator.class, Material.rock );
setStepSound( Block.soundTypeMetal );
setFeature( EnumSet.of( AEFeature.Core ) ); setFeature( EnumSet.of( AEFeature.Core ) );
setTileEntity( TileQuartzGrowthAccelerator.class ); setTileEntity( TileQuartzGrowthAccelerator.class );
} }