Updated health documentation, fixes #172
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$id": "blockception.minecraft.behavior.entities.minecraft.health",
|
"$id": "blockception.minecraft.behavior.entities.minecraft.health",
|
||||||
"description": "Sets the amount of health this mob has.",
|
"description": "Specifies how much life an entity has when spawned.",
|
||||||
"$comment": "UNDOCUMENTED",
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Health",
|
"title": "Health",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@@ -9,11 +8,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"max": {
|
"max": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The maximum health the entity can heal.",
|
"description": "The maximum starting health an entity has.",
|
||||||
"title": "Maximum"
|
"title": "Maximum"
|
||||||
},
|
},
|
||||||
"value": {
|
"value": {
|
||||||
"description": "Current health of the entity.",
|
"description": "The amount of health an entity to start with by default.",
|
||||||
"title": "Value",
|
"title": "Value",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "type": "integer", "default": 1 },
|
{ "type": "integer", "default": 1 },
|
||||||
@@ -39,5 +38,5 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"examples": [{ "value": 1, "max": 0 }]
|
"examples": [{ "value": 1, "max": 1 }]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user