no-block-delay
A minimal Fabric minecraft mod that removes the 4 tick delay when placing blocks.
介绍
no-block-delay
A minimal Fabric minecraft mod that removes the 4 tick delay when placing blocks.
How does it work?
The mod works by injecting into the handleInputEvents method, in which it checks
if the delay == 0, if so, it sets the @Shadow itemUseCooldown to 0 and returns.
If this is not the case, it checks if the current itemUseCooldown is higher than
the defined delay, if so, it sets the @Shadow itemUseCooldown to the delay.
Configuration
The mod uses a noblockdelay.json in the fabric config directory,
using
FabricLoader.getInstance().getConfigDir().resolve("noblockdelay.json");
This auto-generates the config file, if it doesn’t already exist.
Default config file:
{
"enabled": true,
"delay": 0
}
Enabling / Disabling
You can toggle the mod, using:
/noblockdelay toggle
This also saves the content to the config file.
Or you can edit the noblockdelay.json config file directly.
Configuring delay
You can configure the delay using:
/noblockdelay set <DELAY>
This also saves the content to the config file.
The <DELAY> needs to be a positive integer.
常见问题
no-block-delay 支持哪些 Minecraft 版本?
no-block-delay 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
no-block-delay 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Shikaru0 的其他作品
查看全部 →Fast Projectiles
A client-side optimization mod that speeds up throwable item usage by resending interaction packets before the server cooldown finishes.
no-offhand-rocket-use
A minimal Fabric minecraft mod that disables the use of firework rockets when their in your offhand.
评论
登录后评论和评分