Files
minecraft-bedrock-json-schemas/source/behavior/loot_tables/conditions/entity_properties.json
2022-07-22 19:41:04 +02:00

33 lines
1.2 KiB
JSON

{
"$id": "blockception.minecraft.behavior.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": "Returns true if the actor properties defined were executed.", "$comment": "UNDOCUMENTED" },
"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": "Checks if the entity is on fire or not.",
"$comment": "UNDOCUMENTED",
"type": "boolean"
},
"on_ground": {
"title": "On Ground",
"description": "Checks if the entity is on the ground or not.",
"$comment": "UNDOCUMENTED",
"type": "boolean"
}
}
}
}
}