* Updating UnDocumented Updating Undocumented and Fix Component errors * Update source/behavior/entities/format/components/is_stackable.json * Update source/behavior/entities/format/components/is_stackable.json --------- Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"$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.",
|
|
"type": "integer"
|
|
},
|
|
"range_max": {
|
|
"title": "Range Maximum",
|
|
"description": "The maximum amount of health this mob could have.",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"examples": [{ "value": 1, "max": 1 }]
|
|
}
|