Connected banner
Connected icon

Connected

Make a enchantment that breaks the same blocks around you (up to 64) also make it able to have no fall damage when falling. It can enchant any eligible tool...

00
fabricBoth1.21.1mod

Connected adds a new enchantment that links block breaking and fall safety.

  • The Connected enchantment can be applied to most tools and weapons (mining tools, bows, crossbows, tridents, fishing rods, and other durability-based gear) via the new data-driven definition. A starter enchanted book is granted on first join if the player doesn’t already have the enchantment.
  • Breaking a block with a Connected-enchanted item on the server will automatically break up to 64 adjacent blocks of the same type (6-directional search). Blocks respect normal permission checks; unbreakable blocks are skipped, and tools still take durability damage for each extra block.
  • Any player carrying an item with the Connected enchantment applied takes no fall damage while it’s in their inventory or equipped.

Important details and behaviors:

  • The enchantment data lives under the connected namespace with its own item tag (connected:enchantable/connected) aggregating common tool enchantable tags.
  • Effects beyond the core behavior are handled in code; the JSON definition intentionally has no extra vanilla-style effects.
  • Fall immunity requires the enchantment to be applied to an item (stored books don’t trigger it), though stored or applied copies both prevent the login gift from duplicating.

Known limitations / future ideas:

  • The block break search stops after 64 matching blocks and only follows face-connected neighbors; diagonals won’t chain.
  • Durability loss is applied to the enchanting hand’s item for each bonus break; offhand tools are supported, but other inventory slots won’t trigger the chain break.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.