From c952108cad9134dd27537c7acce697d68d8b2920 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Mon, 17 Apr 2023 21:59:55 +0200 Subject: [PATCH] Updated player.exhaustion, which fixes #153 --- .../format/components/player.exhaustion.json | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/source/behavior/entities/format/components/player.exhaustion.json b/source/behavior/entities/format/components/player.exhaustion.json index c3eb79cb..6747531f 100644 --- a/source/behavior/entities/format/components/player.exhaustion.json +++ b/source/behavior/entities/format/components/player.exhaustion.json @@ -1,31 +1,21 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.player.exhaustion", + "title": "Player.exhaustion", + "description": "Defines the player's need for food.", "additionalProperties": false, "type": "object", - "title": "Player.exhaustion", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", "required": [], "properties": { "value": { "type": "number", - "default": true, "title": "Value", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The maximum player saturation value." }, "max": { "type": "number", - "default": true, "title": "Maximum", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The maximum player saturation value." } }, - "examples": [ - { - "value": true, - "max": true - } - ] + "examples": [{ "value": 10, "max": 20 }] }