OneBlock AutoTool

Automatically equips the lowest-tier, most-worn suitable tool whenever you mine your regenerating OneBlock.
Back to Files

OneBlock Tool Swapper - 1.0.0

File nameoneblock-tool-1.0.0.jar
Uploader
GreatComradeGreatComrade
Uploaded
Nov 19, 2026
Downloads
10
Size
1.6 MB
Mod Loaders
Fabric
File ID
9707336
Type
R
Release
Supported game versions
  • 26.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:oneblock-autotool-1817632:9707336"

Learn more about Curse Maven

What's new

Initial Release - v1.0.0 (Minecraft 26.1 / Fabric)

✨ Core Features

  • Smart OneBlock Tool Swapping: Automatically equips the optimal tool from your inventory (hotbar, main inventory, and offhand) when you start mining your registered OneBlock.

    • Tier & Wear Priority: Prioritizes lower-tier materials first (Wood/Gold ➔ Stone ➔ Copper ➔ Iron/Shears ➔ Diamond ➔ Netherite), breaking ties by selecting tools with the lowest remaining durability.
    • Smart Non-Tool Fallback: If no suitable tool in your inventory can harvest the block's drops, the mod automatically swaps to a non-tool item (e.g. dirt, cobblestone, food) or an empty slot, giving you an immediate visual cue and preventing accidental tool wear.
    • Strict Target Locking: Only activates on the exact block and dimension registered via /oneblocktool target—all surrounding blocks remain unaffected.
    • Safe Desync Protection: Uses standard client container click packets (ContainerInput.SWAP) to prevent ghost items, item duplication, or server desyncs.

    🛠️ Commands

    • /oneblocktool target — Registers the block you are aiming at.
    • /oneblocktool status — Displays the active coordinates and dimension.
    • /oneblocktool clear — Removes the registered target for the current world/server.

    📦 Requirements

    • Fabric Loader >= 0.20.1
    • Fabric API >= 0.145.1+26.1
    • Java 25

This mod has no related projects