Files
minecraft-bedrock-json-schemas/source/behaviour/loot_tables/conditions/entity_properties.json
2021-02-01 18:39:12 +01:00

41 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.condition.entity_properties",
"type": "object",
"additionalProperties": false,
"description": "Returns true if the actor properties defined were executed.",
"title": "Entity properties",
"properties": {
"condition": {
"type": "string",
"title": "Condition",
"description": "TODO"
},
"entity": {
"type": "string",
"default": "this",
"description": "The entity to test. The value must be only \"this\".",
"title": "Entity"
},
"properties": {
"type": "object",
"default": {},
"description": "The entity's properties. \"on_fire\", \"on_ground\" is used for now.",
"title": "Properties",
"additionalProperties": false,
"properties": {
"on_fire": {
"title": "On fire",
"description": "TODO",
"type": "boolean"
},
"on_ground": {
"title": "On fire",
"description": "TODO",
"type": "boolean"
}
}
}
}
}