This commit is contained in:
延皓
2021-07-03 18:55:08 +08:00
commit b259706807
114 changed files with 3798 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"criteria": {
"config_check_sneak":{
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_sneaking": true
}
}
}
]
}
}
}
}
+28
View File
@@ -0,0 +1,28 @@
{
"criteria": {
"config_check_sneak":{
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"player": {
"advancements": {
"fz:config/sneak": true
}
},
"flags": {
"is_sneaking": false
}
}
}
]
}
}
},
"rewards": {
"function": "fz:config/unsneak"
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"criteria": {
"leave_game": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"leaveGame": {
"max": 0
}
}
}
}
]
}
}
},
"rewards": {
"function": "fz:login/onlogin"
}
}
@@ -0,0 +1,24 @@
{
"criteria": {
"activation": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"actimeCounter": {
"max": 3600,
"min": 3600
}
}
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/activation/calculator"
}
}
@@ -0,0 +1,23 @@
{
"criteria": {
"damage_taken": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fz.bbl": {
"min": 1
}
}
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/bedrockbreaked/calculator"
}
}
@@ -0,0 +1,23 @@
{
"criteria": {
"damage_taken": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"10xDamageTaken": {
"min": 1
}
}
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/damagetaken/calculator"
}
}
@@ -0,0 +1,23 @@
{
"criteria": {
"death_counter": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"deathTester": {
"min": 1
}
}
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/deathcounter/calculator"
}
}
@@ -0,0 +1,244 @@
{
"criteria": {
"used_tools": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooShovel": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooPickaxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooHoe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedWooAxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoShovel": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoPickaxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoHoe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedStoAxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetShovel": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetPickaxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetHoe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedNetAxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroShovel": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroPickaxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroHoe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedIroAxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolShovel": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolPickaxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolHoe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedGolAxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaShovel": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaPickaxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaHoe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedDiaAxe": {
"min": 1
}
},
"entity": "this"
},
{
"condition": "minecraft:entity_scores",
"scores": {
"usedShears": {
"min": 1
}
},
"entity": "this"
}
]
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/digcounter/digtrigger"
}
}
@@ -0,0 +1,58 @@
{
"criteria": {
"right_click_tools": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"item": {
"items": [
"golden_axe",
"golden_hoe",
"golden_shovel",
"wooden_axe",
"wooden_hoe",
"wooden_shovel",
"diamond_axe",
"diamond_hoe",
"diamond_shovel",
"iron_axe",
"iron_hoe",
"iron_shovel",
"stone_axe",
"stone_hoe",
"stone_shovel",
"netherite_axe",
"netherite_hoe",
"netherite_shovel"
]
},
"location": {
"block": {
"blocks": [
"dirt_path",
"farmland",
"oak_log",
"stripped_birch_log",
"stripped_acacia_log",
"stripped_jungle_log",
"stripped_spruce_log",
"stripped_dark_oak_log",
"stripped_warped_stem",
"stripped_crimson_stem",
"stripped_oak_wood",
"stripped_birch_wood",
"stripped_acacia_wood",
"stripped_jungle_wood",
"stripped_spruce_wood",
"stripped_dark_oak_wood",
"stripped_warped_hyphae",
"stripped_crimson_hyphae"
]
}
}
}
}
},
"rewards": {
"function": "fz:scoreboards/digcounter/toolsfix"
}
}
@@ -0,0 +1,48 @@
{
"criteria": {
"tools_hit_entities": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"items": [
"iron_axe",
"stone_axe",
"golden_axe",
"wooden_axe",
"diamond_axe",
"netherite_axe",
"iron_shovel",
"stone_shovel",
"golden_shovel",
"wooden_shovel",
"diamond_shovel",
"netherite_shovel",
"iron_hoe",
"stone_hoe",
"golden_hoe",
"wooden_hoe",
"diamond_hoe",
"netherite_hoe",
"iron_pickaxe",
"stone_pickaxe",
"golden_pickaxe",
"wooden_pickaxe",
"diamond_pickaxe",
"netherite_pickaxe"
]
}
}
}
}
]
}
}
},
"rewards": {"function": "fz:scoreboards/digcounter/toolsfix2"}
}
@@ -0,0 +1,23 @@
{
"criteria": {
"fishing_counter": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fishingTester": {
"min": 1
}
}
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/fishingcounter/calculator"
}
}
@@ -0,0 +1,27 @@
{
"criteria": {
"kill_counter": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"carpetBot": {
"max": 1,
"min": 1
}
}
}
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/killcounter/calculator"
}
}
@@ -0,0 +1,27 @@
{
"criteria": {
"trading_counter": {
"trigger": "minecraft:villager_trade",
"conditions": {
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"carpetBot": {
"max": 1,
"min": 1
}
}
}
}
]
}
}
},
"rewards": {
"function": "fz:scoreboards/tradingcounter/calculator"
}
}