* - Add crafting item catalogs * - Removed experimental warning for item visual * - Added renders_when_invisible entity component * - Removed experimental warning for liquid detection * - Added property inheritance to breedable * - Added min_looked_at_duration field to look_at component * - Added combine_parent_colors to breedable * - Update catalog file schema * - Split storage item components * - Added new entity filters * - Added surface opacity to water appearance biome component * - Remove actor_id loot table example as it is no longer the standard * - Add set_armor_trim trim loot table function * - Added match_tool loot table condition * - Added creature_spawn_probability component * - Added verticalFlySpeed to has_ability * - Update descriptions and default values * - Add base field to block_sounds * - Removed block sounds enum as creators can specify custom ones too * - Change default format version
48 lines
2.0 KiB
JSON
48 lines
2.0 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.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": "match_tool" } } },
|
|
"then": { "$ref": "./conditions/match_tool.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": "killed_by_entity" } } },
|
|
"then": { "$ref": "./conditions/killed_by_entity.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" }
|
|
}
|
|
]
|
|
}
|