From 96e637d99f563d5bc3435a2e19d1fb45bca2af4f Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Thu, 1 Jul 2021 16:51:30 +0200 Subject: [PATCH] Updated --- .../components/minecraft.movement.jump.json | 5 +++- .../components/minecraft.jump.static.json | 2 +- .../1.8.0/components/minecraft.leashable.json | 12 ++++----- .../components/minecraft.movement.basic.json | 12 ++++++--- .../components/minecraft.movement.fly.json | 11 +++++--- .../minecraft.movement.generic.json | 7 ++++- .../1.8.0/components/minecraft.movement.json | 13 ++++++--- .../components/minecraft.movement.jump.json | 24 ++++++++++++++--- .../components/minecraft.movement.skip.json | 7 ++++- .../components/minecraft.movement.sway.json | 7 ++++- .../1.8.0/components/minecraft.nameable.json | 27 ++++++++++--------- 11 files changed, 88 insertions(+), 39 deletions(-) diff --git a/source/behavior/entities/1.16.0/components/minecraft.movement.jump.json b/source/behavior/entities/1.16.0/components/minecraft.movement.jump.json index 92a8c7bf..b344ac33 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.movement.jump.json +++ b/source/behavior/entities/1.16.0/components/minecraft.movement.jump.json @@ -11,7 +11,10 @@ "default": [0.0, 0.0], "description": "Delay after landing when using the slime move control.", "title": "Jump Delay", - "items": [{ "type": "number" }, { "type": "number" }] + "items": [ + { "type": "number", "title": "Minimum" }, + { "type": "number", "title": "Maximum" } + ] }, "max_turn": { "type": "number", diff --git a/source/behavior/entities/1.8.0/components/minecraft.jump.static.json b/source/behavior/entities/1.8.0/components/minecraft.jump.static.json index b9e1146e..2a6923ee 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.jump.static.json +++ b/source/behavior/entities/1.8.0/components/minecraft.jump.static.json @@ -6,6 +6,6 @@ "additionalProperties": false, "required": [], "properties": { - "jump_power": { "type": "number", "default": 0.42, "description": "The initial vertical velocity for the jump", "title": "TODO Title" } + "jump_power": { "type": "number", "default": 0.42, "description": "The initial vertical velocity for the jump", "title": "Jump Power" } } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.leashable.json b/source/behavior/entities/1.8.0/components/minecraft.leashable.json index dc786205..ec1affe5 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.leashable.json +++ b/source/behavior/entities/1.8.0/components/minecraft.leashable.json @@ -10,22 +10,22 @@ "type": "boolean", "default": false, "description": "If true, players can leash this entity even if it is already leashed to another mob", - "title": "TODO Title" + "title": "Can Be Stolen" }, "hard_distance": { "type": "number", "default": 6, "description": "Distance in blocks at which the leash stiffens, restricting movement", - "title": "TODO Title" + "title": "Hard Distance" }, - "max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks", "title": "TODO Title" }, - "on_leash": { "type": "string", "default": "", "description": "Event to call when this entity is leashed", "title": "TODO Title" }, - "on_unleash": { "type": "string", "default": "", "description": "Event to call when this entity is unleashed", "title": "TODO Title" }, + "max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks", "title": "Maximum Distance" }, + "on_leash": { "type": "string", "default": "", "description": "Event to call when this entity is leashed", "title": "On Leash" }, + "on_unleash": { "type": "string", "default": "", "description": "Event to call when this entity is unleashed", "title": "On Leash" }, "soft_distance": { "type": "number", "default": 4, "description": "Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it", - "title": "TODO Title" + "title": "Soft Distance" } } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.movement.basic.json b/source/behavior/entities/1.8.0/components/minecraft.movement.basic.json index 4fe80f96..f0f2cb1d 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.movement.basic.json +++ b/source/behavior/entities/1.8.0/components/minecraft.movement.basic.json @@ -2,11 +2,15 @@ "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.basic", "type": "object", "title": "Movement.basic 1.8.0", + "description": "defines the movement of an entity.", "additionalProperties": false, "required": [], "properties": { - "max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } - }, - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" + "max_turn": { + "type": "number", + "default": 30, + "description": "The maximum number in degrees the mob can turn per tick.", + "title": "Maximum Turn" + } + } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.movement.fly.json b/source/behavior/entities/1.8.0/components/minecraft.movement.fly.json index fc1b79e9..5a8618ad 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.movement.fly.json +++ b/source/behavior/entities/1.8.0/components/minecraft.movement.fly.json @@ -2,10 +2,15 @@ "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.fly", "type": "object", "title": "Movement.fly 1.8.0", + "description": "This move control causes the mob to fly.", "additionalProperties": false, "required": [], "properties": { - "max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } - }, - "description": "This move control causes the mob to fly." + "max_turn": { + "type": "number", + "default": 30, + "description": "The maximum number in degrees the mob can turn per tick.", + "title": "Maximum Turn" + } + } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.movement.generic.json b/source/behavior/entities/1.8.0/components/minecraft.movement.generic.json index 1d4ef268..3eb14061 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.movement.generic.json +++ b/source/behavior/entities/1.8.0/components/minecraft.movement.generic.json @@ -6,6 +6,11 @@ "additionalProperties": false, "required": [], "properties": { - "max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } + "max_turn": { + "type": "number", + "default": 30, + "description": "The maximum number in degrees the mob can turn per tick.", + "title": "Maximum Turn" + } } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.movement.json b/source/behavior/entities/1.8.0/components/minecraft.movement.json index 6b78de0b..6e51d851 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.movement.json +++ b/source/behavior/entities/1.8.0/components/minecraft.movement.json @@ -2,6 +2,8 @@ "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement", "type": "object", "title": "Movement 1.8.0", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", "additionalProperties": false, "required": [], "properties": { @@ -18,11 +20,14 @@ ] }, { "type": "number" }, - { "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } } + { + "type": "object", + "additionalProperties": false, + "title": "Range", + "properties": { "range_min": { "type": "number", "title": "Range Minimum" }, "range_max": { "type": "number", "title": "Range Maximum" } } + } ] }, "max": { "type": "number", "title": "Maximum", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" + } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.movement.jump.json b/source/behavior/entities/1.8.0/components/minecraft.movement.jump.json index 75ddc71d..4cef8e99 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.movement.jump.json +++ b/source/behavior/entities/1.8.0/components/minecraft.movement.jump.json @@ -1,10 +1,26 @@ { - "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.fly", + "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.jump", "type": "object", "title": "Movement.fly 1.8.0", + "description": "Causes the mob to jump as it moves with a specified delay between jumps.", "additionalProperties": false, "required": [], - "properties": {}, - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" + "properties": { + "jump_delay": { + "type": "array", + "default": [0.0, 0.0], + "description": "Delay after landing when using the slime move control.", + "title": "Jump Delay", + "items": [ + { "title": "Minimum", "type": "integer" }, + { "title": "Maximum", "type": "integer" } + ] + }, + "max_turn": { + "type": "integer", + "default": 30, + "description": "The maximum number in degrees the mob can turn per tick.", + "title": "Maximum Turn" + } + } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.movement.skip.json b/source/behavior/entities/1.8.0/components/minecraft.movement.skip.json index 8c408567..4787174a 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.movement.skip.json +++ b/source/behavior/entities/1.8.0/components/minecraft.movement.skip.json @@ -6,6 +6,11 @@ "required": [], "description": "This move control causes the mob to hop as it moves.", "properties": { - "max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } + "max_turn": { + "type": "number", + "default": 30, + "description": "The maximum number in degrees the mob can turn per tick.", + "title": "Maximum Turn" + } } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.movement.sway.json b/source/behavior/entities/1.8.0/components/minecraft.movement.sway.json index 4f545bfb..0f0ef430 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.movement.sway.json +++ b/source/behavior/entities/1.8.0/components/minecraft.movement.sway.json @@ -6,7 +6,12 @@ "additionalProperties": false, "required": [], "properties": { - "max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" }, + "max_turn": { + "type": "number", + "default": 30, + "description": "The maximum number in degrees the mob can turn per tick.", + "title": "Maximum Turn" + }, "sway_amplitude": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO Title" } } } diff --git a/source/behavior/entities/1.8.0/components/minecraft.nameable.json b/source/behavior/entities/1.8.0/components/minecraft.nameable.json index 3d914ff2..419e4622 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.nameable.json +++ b/source/behavior/entities/1.8.0/components/minecraft.nameable.json @@ -9,21 +9,22 @@ "name_actions": { "type": "object", "description": "Describes the special names for this entity and the events to call when the entity acquires those names", - "properties": { - "on_named": { "type": "string", "description": "Event to be called when this entity acquires the name specified in `name_filter'" }, - "name_filter": { "type": "string", "description": "List of special names that will cause the events defined in `on_named` to fire" } - }, "title": "TODO Title", - "additionalProperties": false - }, - "default_trigger": { "type": "string", "description": "Trigger to run when the entity gets named", "title": "TODO Title" }, - "alwaysShow": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "TODO Title" }, - "allowNameTagRenaming": { - "type": "boolean", - "default": true, - "description": "If true, this entity can be renamed with name tags", - "title": "TODO Title" + "additionalProperties": false, + "properties": { + "on_named": { + "type": "string", + "description": "Event to be called when this entity acquires the name specified in `name_filter`", + "title": "On Named" + }, + "name_filter": { + "type": "string", + "description": "List of special names that will cause the events defined in `on_named` to fire", + "title": "Name Filter" + } + } }, + "default_trigger": { "type": "string", "description": "Trigger to run when the entity gets named", "title": "Default Trigger" }, "allow_name_tag_renaming": { "type": "boolean", "default": true,