跳到正文

Tool Stats Tweaker

作者:Unknowneth

一个简单的模组,可通过配置文件修改物品属性。

收藏

截图

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

Fabric 需要 Fabric API
Forge 和 NeoForge 需要 Sinytra Connector 及其依赖项!

这个模组可以通过配置文件编辑工具属性等内容:

文档:

格式:

your_mod:your_item=[a_value:the_value,b_value:true/false]
#your_mod:your_tag=[a_value:the_value,b_value:true/false]

运算:

*(value) – 乘以该数值

示例:将石剑的耐久度乘以 2
minecraft:stone_sword=[durability:*2]

/(value) – 除以该数值

示例:将钻石剑的伤害除以 4
minecraft:diamond_sword=[attack_damage:/4]

-(value) – 减去该数值

示例:让铁镐变得和石镐一样弱
minecraft:iron_pickaxe=[tool_tier:-1]

+(value) – 加上该数值

示例:为金斧增加 600 点耐久度
minecraft:golden_axe=[durability:+600]

=(value) – 将其设为该数值

示例:将所有食物的最大堆叠数量设为 1
#c:foods=[max_stack:=1]

布尔值:

fireproof – 设置物品是否防火

示例:让金斧防火
minecraft:golden_axe=[fireproof:true]

整数值:

durability – 总耐久度

enchantability – 获得更高等级附魔的可能性

max_stack – 物品最大堆叠数量(请注意,不能超过 64)

tool_tier -(0 表示无,1 表示石制工具,2 表示铁制工具,3 表示钻石工具)

小数值:

armor – 该盔甲提供的盔甲值

armor_toughness – 该盔甲的盔甲韧性

attack_speed – 武器的攻击速度

attack_damage – 武器的攻击伤害(请注意,部分武器的基础伤害是固定的)

mining_speed – 工具的挖掘速度

字符串:

thrown – 右键使用该武器时发射的弹射物

更多示例:

minecraft:iron_boots=[armor_toughness:=5.0]

A pair of iron boots that are tougher than the others

通过写入 =5.0,将铁靴的盔甲韧性设为 5

minecraft:golden_axe=[fireproof:true]

A golden axe casually floating in lava

这会让金斧不会被烧毁

minecraft:diamond_sword=[durability:-600,attack_damage:/4]

A diamond sword with less durability and attack damage

durability: -600 会将耐久度降低 600,attack_damage: /4 会将额外攻击伤害降低 75%

minecraft:netherite_sword=[thrown:’minecraft:fireball’]

A netherite sword shooting a fireball

让下界合金剑在右键使用时发射火球

可供你尝试的配置示例

tool-stats-tweaker.txt

minecraft:golden_sword=[durability:+600]

minecraft:golden_axe=[durability:+600,fireproof:true]

minecraft:diamond_sword=[durability:-600,fireproof:true,attack_damage:/4]

minecraft:stone_sword=[durability:*2]

minecraft:netherite_axe=[durability:/2,fireproof:false,attack_speed:+1]

minecraft:fire_charge=[thrown:’minecraft:small_fireball’,max_stack:=16]

minecraft:netherite_sword=[thrown:’minecraft:fireball’]

minecraft:netherite_hoe=[enchantability:100,thrown:’minecraft:wither_skull’,attack_speed:4]

minecraft:stick=[max_stack:=32]

minecraft:golden_leggings=[armor:=5.0,armor_toughness:=2.0]

minecraft:golden_boots=[armor:=5.0]

minecraft:wooden_pickaxe=[mining_speed:+3.0]

minecraft:iron_pickaxe=[tool_tier:-1]

minecraft:iron_helmet=[armor:+5.0]

minecraft:iron_boots=[armor_toughness:=5.0]

#c:foods=[max_stack:=1]

常见问题

Tool Stats Tweaker 支持哪些 Minecraft 版本?

Tool Stats Tweaker 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Tool Stats Tweaker 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Unknowneth 的其他作品

查看全部 →