453 lines
20 KiB
JSON
453 lines
20 KiB
JSON
|
{
|
||
|
"criteria": {
|
||
|
"used_axe_on_block": {
|
||
|
"trigger": "minecraft:item_used_on_block",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:alternative",
|
||
|
"terms": [
|
||
|
{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:diamond_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:iron_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:stone_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:wooden_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:golden_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:netherite_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"attacked_with_axe": {
|
||
|
"trigger": "minecraft:player_hurt_entity",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:alternative",
|
||
|
"terms": [
|
||
|
{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:diamond_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:iron_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:stone_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:wooden_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:golden_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:netherite_axe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},"used_shovel_on_block": {
|
||
|
"trigger": "minecraft:item_used_on_block",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:alternative",
|
||
|
"terms": [
|
||
|
{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:diamond_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:iron_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:stone_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:wooden_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:golden_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:netherite_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"attacked_with_shovel": {
|
||
|
"trigger": "minecraft:player_hurt_entity",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:alternative",
|
||
|
"terms": [
|
||
|
{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:diamond_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:iron_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:stone_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:wooden_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:golden_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:netherite_shovel"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},"used_hoe_on_block": {
|
||
|
"trigger": "minecraft:item_used_on_block",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:alternative",
|
||
|
"terms": [
|
||
|
{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:diamond_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:iron_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:stone_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:wooden_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:golden_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:netherite_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"attacked_with_hoe": {
|
||
|
"trigger": "minecraft:player_hurt_entity",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:alternative",
|
||
|
"terms": [
|
||
|
{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:diamond_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:iron_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:stone_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:wooden_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:golden_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"equipment": {
|
||
|
"mainhand": {
|
||
|
"item": "minecraft:netherite_hoe"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"requirements": [
|
||
|
[
|
||
|
"used_axe_on_block",
|
||
|
"attacked_with_axe",
|
||
|
"used_shovel_on_block",
|
||
|
"attacked_with_shovel",
|
||
|
"used_hoe_on_block",
|
||
|
"attacked_with_hoe"
|
||
|
]
|
||
|
],
|
||
|
"rewards": {
|
||
|
"function": "fz:scoreboards/digcounter/toolsfix"
|
||
|
}
|
||
|
}
|