──────
EN English
⛏️ OneBlock Tool Swapper
A lightweight, client-side Fabric mod that automates tool switching on regenerating OneBlock maps. When you start
mining your registered OneBlock, it automatically equips the lowest-tier, most-worn suitable tool directly from your
inventory.
🌟 Key Features
• Tier-Based Economy: Prefers lower materials (Wood/Gold ➔ Stone ➔ Copper ➔ Iron/Shears ➔ Diamond ➔ Netherite) to
protect your best gear.
• Wear Optimization: Picks the tool with the fewest remaining durability points first—tools with only 1 use left are
fully supported.
• Harvest-Safe: Excludes tools that cannot collect the block's regular drops (e.g., will never hit gold/iron ores
with wood).
• Safe Fallback: Swaps to an empty hand if no suitable tool exists, preventing accidental breakages with the wrong
item.
• Full Inventory Search: Scans all 36 normal inventory slots plus the offhand.
• Target-Locked: Only triggers on the block coordinate you register; other blocks in your world remain unaffected.
• Purely Client-Side: Safe for both singleplayer and multiplayer servers.
🚀 Quick Start
1. Look at your OneBlock and run /oneblocktool target.
2. Hold any tool and hold left-click to mine. The mod handles the rest!
3. Use /oneblocktool status to check coordinates, or /oneblocktool clear to reset.
📋 Requirements
• Minecraft: 26.1
• Loader: Fabric Loader (>= 0.20.1)
• Dependency: Fabric API (>= 0.145.1+26.1)
──────
🇧🇷 Português
Um mod Fabric 100% client-side que automatiza a troca de ferramentas em mapas OneBlock. Ao começar a minerar o bloco
registrado, ele equipa automaticamente a ferramenta adequada de menor tier e maior desgaste do seu inventário.
🌟 Principais Recursos
• Economia de Recursos: Prioriza materiais inferiores (Madeira/Ouro ➔ Pedra ➔ Cobre ➔ Ferro/Tesoura ➔ Diamante ➔
Netherite) para poupar seus melhores itens.
• Otimização de Durabilidade: Escolhe a ferramenta com menor durabilidade restante (itens com apenas 1 uso restante
são usados normalmente).
• Mineração Segura: Só seleciona ferramentas capazes de dropar o item correto do bloco.
• Proteção de Mão Vazia: Troca para a mão vazia caso não haja ferramenta válida, evitando quebrar blocos com itens
incorretos.
• Busca Completa: Verifica os 36 slots do inventário e a mão secundária (offhand).
• Bloqueio de Alvo: Só afeta o bloco exato configurado; o restante do mapa funciona normalmente.
🚀 Como Usar
1. Mire no OneBlock e digite /oneblocktool target.
2. Segure qualquer ferramenta na mão e minere normalmente.
3. Use /oneblocktool status para ver o bloco salvo ou /oneblocktool clear para remover.