forked from bernie-g/Minecraft-bedrock-json-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconditions.json
40 lines (40 loc) · 1.65 KB
/
conditions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.conditions",
"description": "A minecraft loot table condition",
"title": "Condition",
"allOf": [
{
"if": { "properties": { "condition": { "type": "string", "const": "entity_properties" } } },
"then": { "$ref": "./conditions/entity_properties.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "has_mark_variant" } } },
"then": { "$ref": "./conditions/has_mark_variant.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "killed_by_player" } } },
"then": { "$ref": "./conditions/killed_by_player.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "killed_by_player_or_pets" } } },
"then": { "$ref": "./conditions/killed_by_player_or_pets.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "random_chance" } } },
"then": { "$ref": "./conditions/random_chance.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "random_chance_with_looting" } } },
"then": { "$ref": "./conditions/random_chance_with_looting.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "random_difficulty_chance" } } },
"then": { "$ref": "./conditions/random_difficulty_chance.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "random_regional_difficulty_chance" } } },
"then": { "$ref": "./conditions/random_regional_difficulty_chance.json" }
}
]
}