Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/attribute.json

28 lines
802 B
JSON
Raw Normal View History

2024-03-28 15:16:57 +05:00
{
"$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 }]
}