Skip to content

Commit

Permalink
Adjust crucible sound pitches
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Dec 27, 2024
1 parent 3b3a542 commit ecf82fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ show_testing_output = false

# Mod Information
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
mod_version = 1.1.0
mod_version = 1.1.1
root_package = mod.emt
mod_id = harkenscythe
mod_name = Harken Scythe: Resharpened
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mod/emt/harkenscythe/block/HSBlockCrucible.java
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ else if (heldItem == vesselType)
float pitch = heldStack.getItemDamage() == 0 ? 1.0F : 1.0F - ((float) heldStack.getItemDamage() / heldStack.getMaxDamage() * 0.5F);
if (heldItem == keeperType) pitch += 0.5F;
world.playSound(null, pos, SoundEvents.ITEM_BOTTLE_EMPTY, SoundCategory.BLOCKS, 1.0F, pitch);
world.playSound(null, pos, HSSoundEvents.ESSENCE_SOUL_SUMMON.getSoundEvent(), SoundCategory.BLOCKS, 0.3F, pitch);
world.playSound(null, pos, HSSoundEvents.ESSENCE_SOUL_SUMMON.getSoundEvent(), SoundCategory.BLOCKS, 0.3F, 1.5F / (world.rand.nextFloat() * 0.4F + 1.2F));
((HSTileEntityCrucible) te).setEssenceCount(world, pos, state, essenceCount + 1);
player.addStat(StatList.getObjectUseStats(heldItem));
return true;
Expand Down Expand Up @@ -290,7 +290,7 @@ else if (heldItem == keeperType || heldItem == vesselType)
float pitch = heldStack.getItemDamage() == 0 ? 1.0F : 1.0F - ((float) heldStack.getItemDamage() / heldStack.getMaxDamage() * 0.5F);
if (heldItem == keeperType) pitch += 0.5F;
world.playSound(null, pos, SoundEvents.ITEM_BOTTLE_FILL_DRAGONBREATH, SoundCategory.BLOCKS, 1.0F, pitch);
world.playSound(null, pos, HSSoundEvents.ESSENCE_SOUL_SUMMON.getSoundEvent(), SoundCategory.BLOCKS, 0.3F, pitch);
world.playSound(null, pos, HSSoundEvents.ESSENCE_SOUL_SUMMON.getSoundEvent(), SoundCategory.BLOCKS, 0.3F, 1.5F / (world.rand.nextFloat() * 0.4F + 1.2F));
((HSTileEntityCrucible) te).setEssenceCount(world, pos, state, essenceCount - 1);
player.addStat(StatList.getObjectUseStats(heldItem));
return true;
Expand Down

0 comments on commit ecf82fd

Please sign in to comment.