Added config for machines crafting sound (#1969)
This commit is contained in:
parent
bc47a03451
commit
9e1b1a76e1
3 changed files with 9 additions and 2 deletions
|
@ -29,6 +29,7 @@ import net.minecraft.sound.SoundCategory;
|
|||
import net.minecraft.sound.SoundEvent;
|
||||
import net.minecraft.world.World;
|
||||
import reborncore.common.recipes.ICrafterSoundHanlder;
|
||||
import techreborn.config.TechRebornConfig;
|
||||
|
||||
/**
|
||||
* Created by Mark on 20/03/2016.
|
||||
|
@ -54,7 +55,7 @@ public class ModSounds {
|
|||
return;
|
||||
}
|
||||
world.playSound(null, blockEntity.getPos().getX(), blockEntity.getPos().getY(),
|
||||
blockEntity.getPos().getZ(), ModSounds.MACHINE_RUN, SoundCategory.BLOCKS, 1F, 1F);
|
||||
blockEntity.getPos().getZ(), ModSounds.MACHINE_RUN, SoundCategory.BLOCKS, TechRebornConfig.machineSoundVolume, 1F);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue