Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.13 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.13 KB

Automatic Tool Swap

Swaps the tools to the effective one if it's in hotbar.

Curseforge CurseForge

Modrinth Modrinth

For mod devs who want to add compatibility with Automatic Tool Swap, you simply need to implement de.melanx.toolswap.DiggerLike into your tool class if it's not a child of DiggerItem. Also add the one method, alternatively the other methods. This way, your tool will be considered when swapping. Just add this to your build.gradle:

repositories {
    maven {
        url = "https://modmaven.dev/"
    }
}

dependencies {
    compileOnly fg.deobf("de.melanx:ToolSwap:1.20.1-5.0.3+")
}