From d5885708715e018685eb7c33f9cf236d26d7a2eb Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 13 Oct 2021 10:41:36 +0200 Subject: [PATCH] UPdated example for minecraft:health --- source/behavior/entities/format/components/health.json | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/source/behavior/entities/format/components/health.json b/source/behavior/entities/format/components/health.json index d9792955..21af1bef 100644 --- a/source/behavior/entities/format/components/health.json +++ b/source/behavior/entities/format/components/health.json @@ -19,9 +19,7 @@ "description": "Current health of the entity", "title": "Value", "oneOf": [ - { - "type": "integer" - }, + { "type": "integer", "default": 1 }, { "type": "object", "additionalProperties": false, @@ -44,9 +42,5 @@ ] } }, - "examples": [ - { - "max": 0 - } - ] + "examples": [{ "value": 1, "max": 0 }] }