Files
minecraft-bedrock-json-schemas/source/behavior/loot_tables/conditions/enum_property.json
Piotr Brzozowski cbd0262612 Update loot table schemas (#391)
* update loot table schemas

* remove entity_properties and use new int_or_range definition

* remove entity_properties from conditions.json as well
2025-10-15 19:48:05 +02:00

20 lines
545 B
JSON

{
"$id": "blockception.minecraft.behavior.condition.enum_property",
"type": "object",
"title": "Enum Property",
"description": "Checks whether an enum property matches the requested value.",
"additionalProperties": false,
"required": ["condition", "domain", "value"],
"properties": {
"condition": { "const": "enum_property" },
"domain": {
"type": "string",
"description": "Property domain identifier."
},
"value": {
"type": "string",
"description": "Expected enumeration value."
}
}
}