diff --git a/gradle.properties b/gradle.properties index 838a685..3c81828 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/mod/emt/harkenscythe/block/HSBlockCrucible.java b/src/main/java/mod/emt/harkenscythe/block/HSBlockCrucible.java index 51b6c7d..5be3ede 100644 --- a/src/main/java/mod/emt/harkenscythe/block/HSBlockCrucible.java +++ b/src/main/java/mod/emt/harkenscythe/block/HSBlockCrucible.java @@ -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; @@ -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;