fz-survival-datapack/data/fzsd/predicates/used_tool.json
延皓 da7af9fc83 完善所有剩余功能,后续bug修复后即准备发布正式版并向下移植
- 将命名空间改为“fzsd”
- 完善交互器
- 添加管理员命令(/function admin.fzsd:<...>)
- 添加启动函数,用于自动升级等功能
- 添加重装、深度安装、深度卸载、深度重装函数
2022-07-30 16:34:38 +08:00

284 lines
7.4 KiB
JSON

{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.diamond_axe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.diamond_hoe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.diamond_pickaxe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.diamond_shovel": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.diamond_sword": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.golden_axe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.golden_hoe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.golden_pickaxe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.golden_shovel": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.golden_sword": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.iron_axe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.iron_hoe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.iron_pickaxe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.iron_shovel": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.iron_sword": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.netherite_axe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.netherite_hoe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.netherite_pickaxe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.netherite_shovel": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.netherite_sword": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.shears": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.stone_axe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.stone_hoe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.stone_pickaxe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.stone_shovel": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.stone_sword": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.wooden_axe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.wooden_hoe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.wooden_pickaxe": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.wooden_shovel": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.event.used_tool.wooden_sword": {
"min": 1
}
}
}
]
}