Skip to content

Commit

Permalink
Adjusted the pitch/volume/frequency for blood's ambient sound
Browse files Browse the repository at this point in the history
  • Loading branch information
Forstride committed Jan 8, 2024
1 parent 28e28fa commit 0f31618
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/biomesoplenty/common/block/BloodFluid.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Item getBucket() {
@Override
public void animateTick(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_)
{
if (p_230609_.nextInt(200) == 0)
if (p_230609_.nextInt(256) == 0)
{
p_230606_.playLocalSound((double)p_230607_.getX() + 0.5D, (double)p_230607_.getY() + 0.5D, (double)p_230607_.getZ() + 0.5D, BOPSounds.BLOOD_AMBIENT.get(), SoundSource.BLOCKS, p_230609_.nextFloat() * 0.25F + 0.75F, p_230609_.nextFloat() + 0.5F, false);
}
Expand Down
6 changes: 5 additions & 1 deletion src/main/resources/assets/biomesoplenty/sounds.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"block.blood.ambient": {
"sounds": [
"liquid/lava"
{
"name": "minecraft:liquid/lava",
"pitch": 0.5,
"volume": 0.5
}
],
"subtitle": "subtitles.block.blood.ambient"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"biomesoplenty:icy_iris"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"biomesoplenty:burning_blossom"
]
}

0 comments on commit 0f31618

Please sign in to comment.