▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/iammojogo's Auto Switch Tool
iammojogo's Auto Switch Tool

iammojogo's Auto Switch Tool

Simple mod to switch tools based on blocks for quicker mining.

26
0
Все версииiammojogo's Auto Switch Tool 1.1.0

iammojogo's Auto Switch Tool 1.1.0

Releaseвчера

Список изменений

Creative mode guard

Both onLeftClickBlock and onAttackEntity now bail immediately if the player is in creative mode

Tool switching logic (onLeftClickBlock)

Replaced getDestroySpeed > 1.0 filter with getHarvestTool + getHarvestLevel — tools must now actually match the block's required tool class and tier to qualify Blocks with no registered tool class (dirt, sand, gravel, etc.) no longer trigger a switch Added material-based fallbacks for blocks that don't register a tool class: Material.WOOD forces an axe, and Material.LEAVES / VINE / WEB / CLOTH / PLANTS routes to shears Added early return if the currently held item already satisfies the block's tool requirement Added attack damage as a third tiebreaker (lowest wins — weakest tool depleted first) after durability and mining speed Added if (bestSlot == inventory.currentItem) return to avoid a redundant switch Removed the DEFAULT_SPEED constant entirely since it's no longer used

Weapon switching logic (onAttackEntity)

Changed trigger from IMob (hostile mobs only) to EntityLivingBase (all living entities including animals)

New method: switchToShears

Finds the most worn pair of shears in the inventory and switches to them, does nothing if already holding shears or none exist

New Configuration Settings for keybind toggle and other options when available

Файлы

autotoolswitchmod1122-1.1.0.jar(79.38 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.1.0

Загрузчики

Forge

Версии игры

1.12.2

Загрузок

3

Дата публикации

вчера

Загрузил

ID версии

Главная