-
Notifications
You must be signed in to change notification settings - Fork 2
Custom_Tool_Sword
small_jiu edited this page May 26, 2022
·
1 revision
{
"main":[
{
"type": "item:sword",
"entries": [
{
"id": "custom_sword",
"unItem": "minecraft:wooden_sword",
// 用于修复的物品
// 支持meta,工具类通用写法
// "RepairStack": "minecraft:stone@1@3", //全局写法
"RepairStack": {
"0": "minecraft:stone@1@3",
"-1": "minecraft:stone@1@5",
"10": "minecraft:stone@1@2"
},
// 工具的攻击伤害跟攻击速度
// 支持meta,工具类通用写法
// "Modifier": "10:3", // 全局写法,左伤害右攻速
"Modifier": {
"0": {
"damage": 20,
"speed": 3
},
"-1": {
"damage": 99,
"speed": 100
},
"7": {
"damage": 4,
"speed": 2
}
},
// 工具的最大耐久
// 支持meta,工具类通用写法
// "MaxDamage" : 500000, // 全局写法
"MaxDamage": {
"0": 200000,
"-1": 43999999,
"10": 70007000
},
// 工具的附魔能力
// 支持meta,工具类通用写法
// "Enchantability": 20, // 全局写法
"Enchantability": {
"0": 1,
"-1": 50,
"10": 100
}
}
]
}
]
}