nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Simplify Tool Config Lib

Simplify Tool Config Lib

Mod

Simplify your modded tools configuration with a single value on each tool properties.

Client EquipmentLibrary

876 downloads
3 followers

This mod library changes some Tools values to simplify Tools configuration. If your mod has tools or sword & other. With this mod, You need juste to put one value on each tool properties and restore some Minecraft tool values to "0". It's fix somme values ( int/ float) prevented giving precise values, mainly on "attack damage" value. You just put one value directly on your tool items of your choice without additionals values away in the code.

Example: on attack damage in default "1" and attack speed in default "4".

If you want to implements this mod in your mod, I have methods.

Directly implement -Go to Github and download java files and add on your project files and remap "imports".

Local Implementation -Download this mods and add in "build.gradle" file on section dependencies:

dependancies {
           modImplementation(fileTree("Local File Path"))
}

Example code to add:

Custom ToolMaterials:

//Minecraft version 1.20.1 method

public enum CustomToolMaterials implements FixToolMaterial {

 CUSTOM(  miningLevel, itemDurability, miningSpeed, enchantability, Ingredient)

...

Custom ToolItems (pretty much the code):

... CUSTOM_TOOL = register( "custom_tool" , new SimplifySwordItem( materials, float Damage, float Speed, new FabricItemSettings()));

//Minecraft version 1.20.6 method

public static CustomToolMaterials impleement Tier {

CUSTOM( BlocksTags... , durability, enchantementValue, Repair Ingredient);

...

Item CUSTOM_TOOL = register( "custom_tool", new Fix...Item( material, new Item.properties().attribute(Fix...Item.createAttributes(damage, speed))));

External resources


Project members

RayvaxLux1206

Owner


Technical information

License
MIT
Client side
required
Server side
optional
Project ID