OneBlock Tool Swapper - 1.0.0
Curse Maven Snippet
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
- Tier & Wear Priority: Prioritizes lower-tier materials first (
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects