Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
RadiusToolLib

RadiusToolLib

Lib for creating radius tools

223
1
Equipment
Library
Utility
AboutGalleryChangelogVersions

RadiusToolLib

Lib for creating radius tools

Adding the dependency

repositories {
    maven {
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    // Option 1: Include Ducky Updater to project for it available within your own jar (additional ~20kb)
    include(modImplementation("maven.modrinth:rt-lib:<mod-version>"))
    
    // Option 2: Depend on Ducky Updater, but require that users install it manually
    modImplementation("maven.modrinth:rt-lib:<mod-version>")
}
"depends": {
    "fabricloader": "*",
    ...
    "rt-lib": "*"
},

Usage

public class ModName implements ModInitializer {
                                                                          //Material           //Damage&Speed                   //Radius
    public static final RadiusPickaxe RADIUS_PICKAXE = new RadiusPickaxe(ToolMaterials.NETHERITE, 4, 1.0f, new FabricItemSettings(), 1);
    // For the tool to dig 3x3 - range: 1, 5x5 - range: 2; And so on...
    @Override
    public void onInitialize() {
        Registry.register(Registries.ITEM, new Identifier("your_mod_id", "radius_pickaxe"), RADIUS_PICKAXE);
    }
}

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.19.4

Platforms

Fabric

Supported environments

Client and server

Links

Report issues View source Join Discord server

Creators

GalievDev
GalievDev Owner

Details

Licensed MIT
Published 2 years ago
Updated 2 years ago

Modrinth is open source.

main@aaf125c

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.