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))));
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
STC Lib 1.1.0 1.1.0 |
26.3
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
26.2
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
26.1, 26.1.1, 26.1.2
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
1.21.11
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
1.21.10, 1.21.9
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
1.21.5, 1.21.6, 1.21.7, 1.21.8
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
1.21.2, 1.21.3, 1.21.4
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
1.21, 1.21.1
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
1.20.5, 1.20.6
|
fabric
|
Download |
|
STC Lib 1.1.0 1.1.0 |
1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
|
fabric
|
Download |
|
STC Lib 1.0.0 1.0.0 |
1.21.5, 1.21.6, 1.21.7
|
fabric
|
Download |
|
STC Lib 1.0.0 1.0.0 |
1.21.2, 1.21.3, 1.21.4
|
fabric
|
Download |
|
STC Lib 1.0.1 1.0.1 |
1.20.5, 1.20.6
|
fabric
|
Download |
|
STC Lib 1.0.1 1.0.1 |
1.21
|
fabric
|
Download |
|
Simplify Tool Config Lib 1.0.0 1.0.0 |
1.21
|
fabric
|
Download |
|
STC Lib 1.0.0 1.0.0 |
1.20.6
|
fabric
|
Download |
|
STC Lib 1.0.0 1.0.0 |
1.20.1
|
fabric
|
Download |