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.

This mod only targets the
replaceWithStateForNeighborUpdatemethod. 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
- Place the mod in the
modsfolder of your server or client. - Launch the game and enter a world.
- Ensure you have OP permission (level 4, i.e., admin privileges) or have enabled cheats in single-player mode.
- Type a command in chat, e.g.,
/blockupdateinhibition on, to enable inhibition. - 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
