Simplify Tool Config Lib 图标

Simplify Tool Config Lib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/simplify-tools-configuration-library
资源信息

Minecraft 版本: 26.2

平台: fabric

标签: equipment library

资源介绍

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))));

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
alice in wonderland.jar

价格:0 墨喵币
下载量:0

查看详情
BTA! Blue Creepers

价格:0 墨喵币
下载量:0

查看详情
Simple Horseshoes

价格:0 墨喵币
下载量:0

查看详情
Noelle's Roles - Wathe

价格:0 墨喵币
下载量:0

查看详情