This commit is contained in:
Harveykang
2020-12-07 04:25:40 +08:00
parent 4526f5541d
commit 4f1a8b74f9
30 changed files with 417 additions and 131 deletions
@@ -16,7 +16,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooPickaxe": {
@@ -25,7 +26,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooHoe": {
@@ -34,7 +36,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooAxe": {
@@ -43,7 +46,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoShovel": {
@@ -52,7 +56,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoPickaxe": {
@@ -61,7 +66,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoHoe": {
@@ -70,7 +76,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoAxe": {
@@ -79,7 +86,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetShovel": {
@@ -88,7 +96,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetPickaxe": {
@@ -97,7 +106,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetHoe": {
@@ -106,7 +116,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetAxe": {
@@ -115,7 +126,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroShovel": {
@@ -124,7 +136,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroPickaxe": {
@@ -133,7 +146,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroHoe": {
@@ -142,7 +156,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroAxe": {
@@ -151,7 +166,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolShovel": {
@@ -160,7 +176,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolPickaxe": {
@@ -169,7 +186,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaHoe": {
@@ -178,7 +196,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolAxe": {
@@ -187,7 +206,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaShovel": {
@@ -196,7 +216,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaPickaxe": {
@@ -205,7 +226,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaHoe": {
@@ -214,7 +236,8 @@
}
},
"entity": "this"
},{
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaAxe": {
@@ -223,6 +246,16 @@
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedShears": {
"min": 1,
"max": 2147483647
}
},
"entity": "this"
}
]
}
@@ -13,57 +13,62 @@
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:diamond_axe"
"item": "minecraft:diamond_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:iron_axe"
"item": "minecraft:iron_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:stone_axe"
"item": "minecraft:stone_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:wooden_axe"
"item": "minecraft:wooden_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:golden_axe"
"item": "minecraft:golden_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:netherite_axe"
"item": "minecraft:netherite_axe"
}
}
}
@@ -86,57 +91,62 @@
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:diamond_axe"
"item": "minecraft:diamond_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:iron_axe"
"item": "minecraft:iron_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:stone_axe"
"item": "minecraft:stone_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:wooden_axe"
"item": "minecraft:wooden_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:golden_axe"
"item": "minecraft:golden_axe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:netherite_axe"
"item": "minecraft:netherite_axe"
}
}
}
@@ -145,7 +155,8 @@
}
]
}
},"used_shovel_on_block": {
},
"used_shovel_on_block": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"player": [
@@ -158,57 +169,62 @@
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:diamond_shovel"
"item": "minecraft:diamond_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:iron_shovel"
"item": "minecraft:iron_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:stone_shovel"
"item": "minecraft:stone_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:wooden_shovel"
"item": "minecraft:wooden_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:golden_shovel"
"item": "minecraft:golden_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:netherite_shovel"
"item": "minecraft:netherite_shovel"
}
}
}
@@ -231,57 +247,62 @@
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:diamond_shovel"
"item": "minecraft:diamond_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:iron_shovel"
"item": "minecraft:iron_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:stone_shovel"
"item": "minecraft:stone_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:wooden_shovel"
"item": "minecraft:wooden_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:golden_shovel"
"item": "minecraft:golden_shovel"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:netherite_shovel"
"item": "minecraft:netherite_shovel"
}
}
}
@@ -290,7 +311,8 @@
}
]
}
},"used_hoe_on_block": {
},
"used_hoe_on_block": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"player": [
@@ -303,57 +325,62 @@
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:diamond_hoe"
"item": "minecraft:diamond_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:iron_hoe"
"item": "minecraft:iron_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:stone_hoe"
"item": "minecraft:stone_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:wooden_hoe"
"item": "minecraft:wooden_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:golden_hoe"
"item": "minecraft:golden_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:netherite_hoe"
"item": "minecraft:netherite_hoe"
}
}
}
@@ -376,57 +403,62 @@
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:diamond_hoe"
"item": "minecraft:diamond_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:iron_hoe"
"item": "minecraft:iron_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:stone_hoe"
"item": "minecraft:stone_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:wooden_hoe"
"item": "minecraft:wooden_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:golden_hoe"
"item": "minecraft:golden_hoe"
}
}
}
},{
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:netherite_hoe"
"item": "minecraft:netherite_hoe"
}
}
}
@@ -11,8 +11,8 @@
"entity": "this",
"scores": {
"carpetBot": {
"max":1,
"min":1
"max": 1,
"min": 1
}
}
}
@@ -11,8 +11,8 @@
"entity": "this",
"scores": {
"carpetBot": {
"max":1,
"min":1
"max": 1,
"min": 1
}
}
}