Indicative Pitch
Increases the pitch of the block breaking sound as the block is closer to being broken.
介绍
Overview
This is a tiny quality of life mod that makes the block breaking sound increase in pitch as the block is closer to being broken. It should work on any version from 1.20.1 to 1.21.5. Please let me know in the comments if you have any problems with it!
Credits
Credit to @⚔SandWhoop⚔ on Discord for the mod idea.
Modpacks
Feel free to add this to modpacks!
Porting
I can port this to NeoForge, Forge, or other versions as desired. Unfortunately, Modrinth doesn’t have a comments feature, but you could leave a note in the comments on CurseForge! The mod should have the same name there, so it ought to be easy to find.
That being said, here is the entirety of the functional code of this mod:
@Mixin(MultiPlayerGameMode.class)
public abstract class MultiPlayerGameModeMixin {
@Accessor("destroyProgress")
public abstract float getDestroyProgress();
@ModifyExpressionValue(at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/block/SoundType;getPitch()F"), method = "continueDestroyBlock")
private float modifyPitch(float original) {
float returnValue = (this.getDestroyProgress() * 2.5f * original);
// System.out.println("Returning " + returnValue);
return returnValue;
}
}
If I ever stop maintaining this, I’d appreciate it if someone could pick this project up and carry it forward! It’s a nice QOL/accessibility feature.
常见问题
Indicative Pitch 支持哪些 Minecraft 版本?
Indicative Pitch 支持 Minecraft Java 版 1.20.1–1.21.5,共 12 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
Indicative Pitch 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
startraveler 的其他作品
查看全部 →
Bear Minimum
A small mod that adds more bear varieties and rebalances polar bears.
Endium Enhanced
Highly opinionated Endium mod :)
Verdant Growth
A spreading plant growth threatens to overtake and convert all matter in its path. Either fight it or join it!
Ultimate Mob Farms
All the soul based mob farming technology you'd ever need! Craftable spawners, compact single block mob farms, mob transport and killing, item collection and more.
评论
登录后评论和评分