diff --git a/source/behavior/entities/format/components/can_fly.json b/source/behavior/entities/format/components/can_fly.json index d5b5cf74..c6e4b0ea 100644 --- a/source/behavior/entities/format/components/can_fly.json +++ b/source/behavior/entities/format/components/can_fly.json @@ -1,21 +1,20 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.can_fly", - "type": "object", "title": "Can Fly", - "additionalProperties": false, "description": "Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.", "required": [], - "properties": { - "value": { + "anyOf": [ + { + "type":"object", + "additionalProperties": false + }, + { "type": "boolean", - "default": true, - "description": "Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.", - "title": "Value" + "default": false } - }, + ], "examples": [ - { - "value": true - } + true, + false ] } diff --git a/source/resource/sounds/sound_definitions.json b/source/resource/sounds/sound_definitions.json index 20170c5b..33c9f373 100644 --- a/source/resource/sounds/sound_definitions.json +++ b/source/resource/sounds/sound_definitions.json @@ -49,7 +49,7 @@ "additionalProperties": false, "type": "object", "required": ["name"], - "examples": [{ "load_on_low_memory": false, "name": "sounds/fx/example" }], + "examples": [{ "name": "sounds/fx/example" }], "properties": { "is3D": { "description": "UNDOCUMENTED.", @@ -59,11 +59,6 @@ }, "pitch": { "description": "The pitch of the audio, 1 is nomial.", "type": "number", "minimum": 0, "maximum": 2, "title": "Pitch" }, "volume": { "description": "The volume of the audio, 1 is nomial.", "type": "number", "minimum": 0, "title": "Volume" }, - "load_on_low_memory": { - "type": "boolean", - "description": "Marks if this audio should be loaded or not on low memory.", - "title": "Load On Low Memory" - }, "stream": { "description": "If marked true then minecraft will stream the audio.", "type": "boolean", "title": "Stream" }, "name": { "$id": "#/Sound/sounds/stringItem",