{ "$id": "blockception.minecraft.behavior.entities.minecraft.health", "description": "Specifies how much life an entity has when spawned.", "type": "object", "title": "Health", "additionalProperties": false, "required": [], "properties": { "max": { "type": "integer", "description": "The maximum starting health an entity has.", "title": "Maximum" }, "value": { "description": "The amount of health an entity to start with by default.", "title": "Value", "oneOf": [ { "type": "integer", "default": 1 }, { "type": "object", "additionalProperties": false, "required": ["range_min", "range_max"], "properties": { "range_min": { "title": "Range Minimum", "description": "The minimum amount of health this mob could have.", "$comment": "UNDOCUMENTED", "type": "number" }, "range_max": { "title": "Range Maximum", "description": "The maximum amount of health this mob could have.", "$comment": "UNDOCUMENTED", "type": "number" } } } ] } }, "examples": [{ "value": 1, "max": 1 }] }