Langue

HyskBlockUpdateInhibition

HyskBlockUpdateInhibition

Modrinth

blocking neighbor updates caused by block replacements.

26 téléchargements mis à jour 2mo ago
dernière v1.0.0 Modrinth
Fabric 1.21.11 – 1.21.11 Game-mechanicsOptimizationTechnology

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

Versions

Release
1.0.0
fabric · 1.21.11 · 2mo ago
BlockUpdateInhibition!!!
26

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.

Télécharger HyskBlockUpdateInhibition

Les fichiers proviennent directement de la source d'origine. Modgrid ne les héberge ni ne les modifie.