From 74cd9336a6e8a9b7731da4eb889a87ef0c471240 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Fri, 2 Jul 2021 21:31:53 +0200 Subject: [PATCH] Updated --- .../1.16.0/components/minecraft.hurt_on_condition.json | 9 +++------ .../entities/1.16.0/components/minecraft.interact.json | 7 +++---- .../entities/1.16.0/components/minecraft.mob_effect.json | 3 +-- .../1.16.0/components/minecraft.movement.sway.json | 6 +++++- .../entities/1.16.0/components/minecraft.nameable.json | 7 +++---- .../entities/1.16.0/components/minecraft.scheduler.json | 2 +- .../1.16.0/components/minecraft.spawn_entity.json | 2 +- .../behavior/entities/filters/filters/is_game_rule.json | 4 ++-- 8 files changed, 19 insertions(+), 21 deletions(-) diff --git a/source/behavior/entities/1.16.0/components/minecraft.hurt_on_condition.json b/source/behavior/entities/1.16.0/components/minecraft.hurt_on_condition.json index e4a92375..3e4fb8ef 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.hurt_on_condition.json +++ b/source/behavior/entities/1.16.0/components/minecraft.hurt_on_condition.json @@ -8,13 +8,11 @@ "damage_conditions": { "type": "array", "title": "Damage Conditions", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", + "description": "An array of conditions used to compare the event to.", "items": { "type": "object", "title": "Damage Condition", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", + "description": "A condition used to compare the event to.", "additionalProperties": false, "properties": { "filters": { "$ref": "../../filters/filters.json" }, @@ -22,8 +20,7 @@ "damage_per_tick": { "type": "integer", "title": "Damage Per Tick", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" + "description": "Amount of damage done each tick that the conditions are met." } } } diff --git a/source/behavior/entities/1.16.0/components/minecraft.interact.json b/source/behavior/entities/1.16.0/components/minecraft.interact.json index 6717fd5e..d0b2c34f 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.interact.json +++ b/source/behavior/entities/1.16.0/components/minecraft.interact.json @@ -69,7 +69,7 @@ "properties": { "table": { "type": "string", - "default": "", + "$ref": "../../../../general/loot_table/identifier.json", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } @@ -83,7 +83,7 @@ }, "transform_to_item": { "type": "string", - "title": "Transform to item", + "title": "Transform To Item", "description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue" }, "use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item.", "title": "Use Item" } @@ -92,8 +92,7 @@ }, "properties": { "interactions": { - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", + "description": "The interactions", "title": "Interactions", "oneOf": [ { "type": "object", "$ref": "#/definitions/interaction_spec" }, diff --git a/source/behavior/entities/1.16.0/components/minecraft.mob_effect.json b/source/behavior/entities/1.16.0/components/minecraft.mob_effect.json index 6ae5f0e1..ed88c167 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.mob_effect.json +++ b/source/behavior/entities/1.16.0/components/minecraft.mob_effect.json @@ -21,8 +21,7 @@ "entity_filter": { "$ref": "../../filters/filters.json", "title": "Entity Filter", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" + "description": "Filter to use for conditions" } } } diff --git a/source/behavior/entities/1.16.0/components/minecraft.movement.sway.json b/source/behavior/entities/1.16.0/components/minecraft.movement.sway.json index 9d67a76f..81474426 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.movement.sway.json +++ b/source/behavior/entities/1.16.0/components/minecraft.movement.sway.json @@ -11,6 +11,10 @@ "description": "The maximum number in degrees the mob can turn per tick.", "title": "Maximum Turn" }, - "sway_amplitude": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Sway Amplitude" } + "sway_amplitude": { + "type": "number", + "description": "The amount of sway that is allowed for movement.", + "title": "Sway Amplitude" + } } } diff --git a/source/behavior/entities/1.16.0/components/minecraft.nameable.json b/source/behavior/entities/1.16.0/components/minecraft.nameable.json index bc1e7416..b08f36da 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.nameable.json +++ b/source/behavior/entities/1.16.0/components/minecraft.nameable.json @@ -36,13 +36,12 @@ "always_show": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "Always Show" }, "default_trigger": { "$ref": "../types/trigger.json", "description": "Trigger to run when the entity gets named", "title": "Default Trigger" }, "name_actions": { + "title": "Name Actions", + "description": "Describes the special names for this entity and the events to call when the entity acquires those names", "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/name_action" } }, { "type": "object", "$ref": "#/definitions/name_action" } - ], - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Name Actions" + ] } } } diff --git a/source/behavior/entities/1.16.0/components/minecraft.scheduler.json b/source/behavior/entities/1.16.0/components/minecraft.scheduler.json index b33c49b5..9adc998b 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.scheduler.json +++ b/source/behavior/entities/1.16.0/components/minecraft.scheduler.json @@ -1,6 +1,6 @@ { "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.scheduler", - "description": "Defines a list of items the mob wants to share or pick up. Each item must have the following parameters:", + "description": "fires off scheduled mob events at time of day events.", "type": "object", "title": "Scheduler 1.16.0", "additionalProperties": false, diff --git a/source/behavior/entities/1.16.0/components/minecraft.spawn_entity.json b/source/behavior/entities/1.16.0/components/minecraft.spawn_entity.json index da34e653..13ea3438 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.spawn_entity.json +++ b/source/behavior/entities/1.16.0/components/minecraft.spawn_entity.json @@ -71,7 +71,7 @@ "properties": { "entities": { "title": "Entities", - "description": "UNDOCUMENTED", + "description": "The entities to spawn", "$comment": "UNDOCUMENTED", "oneOf": [ { "type": "object", "$ref": "#/definitions/entity_spawn" }, diff --git a/source/behavior/entities/filters/filters/is_game_rule.json b/source/behavior/entities/filters/filters/is_game_rule.json index 4516cef5..b4d5f796 100644 --- a/source/behavior/entities/filters/filters/is_game_rule.json +++ b/source/behavior/entities/filters/filters/is_game_rule.json @@ -2,10 +2,10 @@ "$id": "blockception.minecraft.behavior.entities.filters.is_game_rule", "type": "object", "title": "Is Game Rule", - "description": "UNDOCUMENTED:", + "description": "Tests whether a named game rule is active.", "required": ["domain"], "properties": { - "domain": { "description": "The Game Rule to test.", "title": "Domain" }, + "domain": { "description": "The Game Rule to test.", "title": "Domain", "examples": ["domobspawning"] }, "operator": { "$ref": "./types/operator.json" }, "subject": { "$ref": "./types/subject.json" }, "value": { "description": "Tests whether a named game rule is active.", "default": true, "type": "boolean", "title": "Value" }