Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.health.json
2021-06-03 16:12:39 +02:00

37 lines
1022 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.health",
"description": "TODO",
"type": "object",
"title": "Health 1.8.0",
"additionalProperties": false,
"required": [],
"dependencies": { "max": ["value"] },
"properties": {
"max": { "type": "integer", "description": "The maximum health the entity can heal", "title": "Maximum" },
"value": {
"description": "Current health of the entity",
"title": "Value",
"oneOf": [
{ "type": "integer" },
{
"type": "object",
"additionalProperties": false,
"required": ["range_min", "range_max"],
"properties": {
"range_min": {
"title": "Range minimum",
"description": "UNDOCUMANTED",
"type": "number"
},
"range_max": {
"title": "Range maximum",
"description": "UNDOCUMANTED",
"type": "number"
}
}
}
]
}
}
}