44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.health",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"title": "Health",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"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", "default": 1 },
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["range_min", "range_max"],
|
|
"properties": {
|
|
"range_min": {
|
|
"title": "Range Minimum",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "number"
|
|
},
|
|
"range_max": {
|
|
"title": "Range Maximum",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "number"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"examples": [{ "value": 1, "max": 0 }]
|
|
}
|