跳到正文

HyskBlockUpdateInhibition

作者:YkinLing

blocking neighbor updates caused by block replacements.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Block Update Inhibition Mod (Hysk Block Update Inhibition)

A Fabric mod for Minecraft that allows players with OP permissions to pause or resume certain block updates via commands. When inhibition is enabled, the chain destruction of same-type blocks (such as nether portals, bamboo, sugar cane, etc.) no longer triggers neighbor updates, which is useful for special map designs or portal creation.
BlockUpdateInhibition

  • This mod only targets the replaceWithStateForNeighborUpdate method. It does not block neighbor updates triggered by normal block placement/destruction (e.g., redstone, TNT activation).
  • Ensure you have a safe backup when using this mod on a server!
  • Producer: YkinLing
  • Auxiliary AI: Deepseek
  • QQ Group: 783492491 (For obtaining the source code)

Features

  • /blockupdateinhibition on – Enable inhibition, blocking neighbor updates caused by block replacements.
  • /blockupdateinhibition off – Disable inhibition, restoring vanilla behavior.
  • /blockupdateinhibition status – Check the current inhibition state.
  • Automatically disables inhibition when the server stops, ensuring proper world saving.
  • Supports Chinese/English display (automatically switches based on client language).

Usage

  1. Place the mod in the mods folder of your server or client.
  2. Launch the game and enter a world.
  3. Ensure you have OP permission (level 4, i.e., admin privileges) or have enabled cheats in single-player mode.
  4. Type a command in chat, e.g., /blockupdateinhibition on, to enable inhibition.
  5. When enabled, any neighbor updates triggered by the destruction or replacement of the same type of block will be blocked, while normal placement/destruction of blocks (redstone, TNT, etc.) will still behave as usual.

Notes

  • This mod only intercepts replaceWithStateForNeighborUpdate, so it only affects scenarios where a block is replaced by another block. To block all neighbor updates, use other mods or extend this functionality.
  • (Specifically, it can block the chain destruction effect of quickly broken nether portals, bamboo, sugar cane, etc.)
  • While inhibition is enabled, piston pushes, fluid flows, and similar replacements will not trigger updates on surrounding blocks, which may cause some mechanical devices to behave unexpectedly. Use with caution.
  • After disabling inhibition, backlogged updates are not automatically replayed. To refresh surrounding block states, manually trigger an update (e.g., place/break a block).
  • You do not need to manually disable inhibition before exiting the game; the mod will automatically disable it when the server stops.

Requirements

  • Minecraft 1.21.11
  • Fabric Loader 0.18.4+
  • Fabric API

License

BSD 2

常见问题

HyskBlockUpdateInhibition 支持哪些 Minecraft 版本?

HyskBlockUpdateInhibition 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

HyskBlockUpdateInhibition 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

YkinLing 的其他作品

查看全部 →