Fabric 需要 Fabric API
Forge 和 NeoForge 需要 Sinytra Connector 及其依赖项!
此模组允许你通过配置文件编辑工具属性等:
文档:
格式:
your_mod:your_item=[a_value:<operator>the_value,b_value:true/false]
#your_mod:your_tag=[a_value:<operator>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]

通过写入 =5.0,将铁靴的护甲坚韧度设置为 5
minecraft:golden_axe=[fireproof:true]

这使金斧不可燃烧
minecraft:diamond_sword=[durability:-600,attack_damage:/4]

durability: -600 减少 600 点耐久度,attack_damage: /4 将其额外攻击伤害减少 75%
minecraft:netherite_sword=[thrown:'minecraft: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]
Fabric requires Fabric API
Forge and NeoForge requires Sinytra Connector and its dependencies!
This mod lets you edit tool stats and whatnot through a config:
Documentation:
Format:
your_mod:your_item=[a_value:<operator>the_value,b_value:true/false]
#your_mod:your_tag=[a_value:<operator>the_value,b_value:true/false]
Operations:
*(value) - multiplies by that amount
Ex: Multiply stone sword durability by 2
minecraft:stone_sword=[durability:*2]
/(value) - divides by that amount
Ex: Divide diamond sword damage by 4
minecraft:diamond_sword=[attack_damage:/4]
-(value) - subtracts by that amount
Ex: Make iron pickaxe as weak as a stone one
minecraft:iron_pickaxe=[tool_tier:-1]
+(value) - adds by that amount
Ex: Give golden axes 600 extra durability
minecraft:golden_axe=[durability:+600]
=(value) - sets it to that amount
Ex: Sets all food items to have a maximim stack of 1
#c:foods=[max_stack:=1]
Boolean values:
fireproof - whether or not an item becomes fireproof
Ex: Make golden axes fireproof
minecraft:golden_axe=[fireproof:true]
Integer values:
durability - overall durability
enchantability - likelihood of getting higher level enchantments
max_stack - maximum item stack (do note that you cannot go over 64)
tool_tier - (0 is nothing, 1 is stone tools, 2 is iron tools, 3 is diamond tools)
Decimal values:
armor - armor points given by this armor
armor_toughness - armor toughness of this armor
attack_speed - attack speed of the weapon
attack_damage - attack damage of the weapon (do note that some weapons have a base damage that is fixed)
mining_speed - mining speed of the tool
Strings:
thrown - projectile to shoot when this weapon is right clicked
More examples:
minecraft:iron_boots=[armor_toughness:=5.0]

by writing =5.0, it sets the armor toughness of iron boots to 5
minecraft:golden_axe=[fireproof:true]

this makes the golden axe unburnable
minecraft:diamond_sword=[durability:-600,attack_damage:/4]

durability: -600 reduces durability by 600, attack_damage: /4 reduces its bonus attack damage by 75%
minecraft:netherite_sword=[thrown:'minecraft:fireball']

makes netherite swords shoot a fireball when right clicked
Example config for you to play around with
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]
评论 0
登录后参与评分
还没有评论,来抢沙发吧