From 11758cad243f7c5b2e83f8c8af8860e8a3a5f576 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Mon, 17 Apr 2023 21:49:53 +0200 Subject: [PATCH] Updated health documentation, fixes #172 --- source/behavior/entities/format/components/health.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/behavior/entities/format/components/health.json b/source/behavior/entities/format/components/health.json index ffb298b4..45638066 100644 --- a/source/behavior/entities/format/components/health.json +++ b/source/behavior/entities/format/components/health.json @@ -1,7 +1,6 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.health", - "description": "Sets the amount of health this mob has.", - "$comment": "UNDOCUMENTED", + "description": "Specifies how much life an entity has when spawned.", "type": "object", "title": "Health", "additionalProperties": false, @@ -9,11 +8,11 @@ "properties": { "max": { "type": "integer", - "description": "The maximum health the entity can heal.", + "description": "The maximum starting health an entity has.", "title": "Maximum" }, "value": { - "description": "Current health of the entity.", + "description": "The amount of health an entity to start with by default.", "title": "Value", "oneOf": [ { "type": "integer", "default": 1 }, @@ -39,5 +38,5 @@ ] } }, - "examples": [{ "value": 1, "max": 0 }] + "examples": [{ "value": 1, "max": 1 }] }