? 1.20.5:请注意,由于 Minecraft 代码发生了变化,对最新版本的支持需要一段时间
Material Json
是否曾想过更改所有铁制工具的耐久度?或是调整钻石护甲的防护值?亦或是下界合金的挖掘速度?使用 Material Json 即可实现!通过 Minecraft 的数据包结构和 .json 文件进行简单编辑,让你随心所欲地自定义一切!
✅ 功能特性
- 服务端与客户端同步:重新加载数据包即可即时更改任何设置!
- 支持模组:兼容添加了新武器、护甲和工具的模组。
- 配置灵活:允许更改任何武器、护甲或工具的任何材质属性。
⛏️ 工具材质配置
工具材质可以在数据包中配置,路径为 <namespace>:materials/tool/<path>.json。请注意,数据包可以通过仅指定某个字段,来覆盖其下方数据包的单个字段。
该 .json 文件包含以下字段:
durability: integer
- 指定耐久度。
必须是一个至少为 1 的 32 位整数。
mining_speed: float
- 指定挖掘速度。
必须是一个至少为 0.0 的单精度浮点数。
attack_damage: float
- 指定攻击伤害。请注意,某些物品(例如剑)可能会在此基础上增加或减少伤害。
必须是一个单精度浮点数。
mining_level: integer
- 指定挖掘等级。
必须是一个至少为 -1 的 32 位整数。
enchantability: integer
- 指定附魔能力。
必须是一个至少为 [缺失数值] 的 32 位整数。
ingredient: resource_or_tag
- 指定用于修复的材料。
必须是一个单一的物品 ID 或以哈希符号开头的物品标签。
? 护甲材质配置
工具材质可以在数据包中通过路径 <namespace>:materials/tool/<path>.json 进行配置。请注意,数据包可以选择仅指定某个字段来覆盖其下方数据包的对应字段。
.json 文件包含以下字段:
durability:
helmet|chestplate|leggings|boots: integer
- 指定该护甲部件的耐久度。
必须是至少为 1 的 32 位整数。
protection:
helmet|chestplate|leggings|boots: integer
- 指定该护甲部件的保护值。
必须是至少为 0 的 32 位整数。
enchantability: integer
- 指定附魔能力。
必须是至少为(原文此处缺失数值,通常指大于等于 0)的 32 位整数。
equip_sound: resource_location
ingredient: resource_or_tag
- 指定用于修复的材料。
必须是一个物品 ID 或带哈希前缀的物品标签。
toughness: float
knockback_resistance: float
? 1.20.5: Please note that due to changes in Minecraft's code, support for the latest version will take a while
Material Json
Ever wanted to change the durability of all Iron Tools? What about changing the protection amounts of Diamond Armor? Or the mining speed of Netherite? Well, with Material Json you can! Simple editing through Minecraft's datapack structure and .json files, allow you to do anything!
✅ Features
- Synced from server to client, instantly change anything on datapack reload!
- Support for mods that add new Weapons, Armor & Tools.
- Configuration allows for changing of any material for any Weapon, Armor or Tool.
⛏️ Tool Material Configuration
Tool materials can be configured in a datapack under <namespace>:materials/tool/<path>.json. Please note that datapacks can choose to override a single field from a datapack below it, by only specifying that field.
The .json file contains the following fields:
durability: integer
- Specifies the durability.
Must be a 32-bit integer number at least 1.
mining_speed: float
- Specifies the mining speed.
Must be a single-precision floating-point number at least 0.0.
attack_damage: float
- Specifies the attack damage. Please note that individual items (e.g. swords) might add a bonus or malus to this.
Must be a single-precision floating-point number.
mining_level: integer
- Specifies the mining level.
Must be a 32-bit integer number at least -1.
enchantability: integer
- Specifies the enchantability.
Must be a 32-bit integer number at least.
ingredient: resource_or_tag
- Specifies the ingredient used for repairing.
Must be a single item ID or a hash-prefixed item tag.
? Armour Material Configuration
Tool materials can be configured in a datapack under <namespace>:materials/tool/<path>.json. Please note that datapacks can choose to override a single field from a datapack below it, by only specifying that field.
The .json file contains the following fields:
durability:
helmet|chestplate|leggings|boots: integer
- Specifies the durability of the piece.
Must be a 32-bit integer number at least 1.
protection:
helmet|chestplate|leggings|boots: integer
- Specifies the protection of the piece.
Must be a 32-bit integer number at least 0.
enchantability: integer
- Specifies the enchantability.
Must be a 32-bit integer number at least.
equip_sound: resource_location
- Specifies the sound when the armor is equipped.
Must be a sound event as defined in sounds.json.
ingredient: resource_or_tag
- Specifies the ingredient used for repairing.
Must be a single item ID or a hash-prefixed item tag.
toughness: float
- Specifies the armor toughness.
Must be a single-precision floating-point number.
knockback_resistance: float
- Specifies the knockback resistance.
Must be a single-precision floating-point number.
评论 0
登录后参与评分
还没有评论,来抢沙发吧