28 lines
802 B
JSON
28 lines
802 B
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.attribute",
|
|
"description": "Specifies the initial value of a specific attribute for an entity when spawned.",
|
|
"type": "object",
|
|
"title": "Attribute",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"properties": {
|
|
"min": {
|
|
"type": "number",
|
|
"description": "The minimum starting health an entity has.",
|
|
"title": "Minimum",
|
|
"minimum": 0
|
|
},
|
|
"max": {
|
|
"type": "number",
|
|
"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",
|
|
"$ref": "../types/range_number_type.json"
|
|
}
|
|
},
|
|
"examples": [{ "value": 1, "max": 1 }]
|
|
}
|