update 2.0 files

This commit is contained in:
MapleDust
2020-11-27 00:27:49 +08:00
parent 45d36541ca
commit 1013cd1590
104 changed files with 3154 additions and 0 deletions
@@ -0,0 +1,236 @@
{
"criteria": {
"used_tools": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooShovel": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooPickaxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooHoe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooAxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoShovel": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoPickaxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoHoe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoAxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetShovel": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetPickaxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetHoe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetAxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroShovel": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroPickaxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroHoe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroAxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolShovel": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolPickaxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaHoe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolAxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaShovel": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaPickaxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaHoe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
},{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaAxe": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
}
]
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/digcounter/digtrigger"
}
}
@@ -0,0 +1,453 @@
{
"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"
}
}