From 492e018731aa39021d36f8eb7a3ac4cc9e3dfc75 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Fri, 2 Jul 2021 21:19:40 +0200 Subject: [PATCH] Updated --- source/behavior/entities/1.11.0/entities.json | 2 +- source/behavior/entities/1.12.0/entities.json | 2 +- .../components/minecraft.damage_sensor.json | 19 +++++++++++-------- .../minecraft.experience_reward.json | 9 +++------ .../1.13.0/components/minecraft.interact.json | 7 +++---- .../minecraft.navigation.climb.json | 2 +- .../minecraft.navigation.float.json | 6 +++--- .../components/minecraft.navigation.fly.json | 6 +++--- .../minecraft.navigation.generic.json | 6 +++--- .../components/minecraft.navigation.swim.json | 6 +++--- .../components/minecraft.navigation.walk.json | 6 +++--- .../features/minecraft.scatter_feature.json | 8 ++++---- 12 files changed, 39 insertions(+), 40 deletions(-) diff --git a/source/behavior/entities/1.11.0/entities.json b/source/behavior/entities/1.11.0/entities.json index 0faeedbf..5a1336da 100644 --- a/source/behavior/entities/1.11.0/entities.json +++ b/source/behavior/entities/1.11.0/entities.json @@ -11,7 +11,7 @@ "const": "1.11.0", "description": "A version that tells minecraft what type of data format can be expected when reading this file." }, - "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "UNDOCUMENTED: minecraft:entity", "title": "Entity" } + "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "The minecraft entity behavior specification", "title": "Entity" } }, "additionalProperties": false } diff --git a/source/behavior/entities/1.12.0/entities.json b/source/behavior/entities/1.12.0/entities.json index 172c4aa2..b7126790 100644 --- a/source/behavior/entities/1.12.0/entities.json +++ b/source/behavior/entities/1.12.0/entities.json @@ -11,7 +11,7 @@ "const": "1.12.0", "description": "A version that tells minecraft what type of data format can be expected when reading this file." }, - "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "UNDOCUMENTED: minecraft:entity", "title": "Entity" } + "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "The minecraft entity behavior specification", "title": "Entity" } }, "additionalProperties": false } diff --git a/source/behavior/entities/1.13.0/components/minecraft.damage_sensor.json b/source/behavior/entities/1.13.0/components/minecraft.damage_sensor.json index 674c3771..7cb01dcf 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.damage_sensor.json +++ b/source/behavior/entities/1.13.0/components/minecraft.damage_sensor.json @@ -33,16 +33,19 @@ "title": "On Damage", "properties": { "filters": { "$ref": "../../filters/filters.json" }, - "event": { "type": "string", "pattern": "^.*$", "description": "UNDOCUMENTED: event", "title": "Event" }, - "target": { "$ref": "../../filters/filters/types/subject.json", "description": "UNDOCUMENTED: target", "title": "Target" } - }, - "on_damage_sound_event": { - "type": "string", - "description": "Defines what sound to play, if any, when the on_damage filters are met.", - "title": "On Damage Sound Event" + "event": { "type": "string", "pattern": "^.*$", "description": "Defines what event to run", "title": "Event" }, + "target": { + "$ref": "../../filters/filters/types/subject.json", + "description": "filters to use to define specific tests", + "title": "Target" + } } }, - "on_damage_sound_event": { "$ref": "../../1.8.0/types/event.json" } + "on_damage_sound_event": { + "$ref": "../../1.8.0/types/event.json", + "description": "Defines what sound to play, if any, when the on_damage filters are met.", + "title": "On Damage Sound Event" + } } } }, diff --git a/source/behavior/entities/1.13.0/components/minecraft.experience_reward.json b/source/behavior/entities/1.13.0/components/minecraft.experience_reward.json index a02bf781..97ebdff2 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.experience_reward.json +++ b/source/behavior/entities/1.13.0/components/minecraft.experience_reward.json @@ -2,19 +2,16 @@ "$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.experience_reward", "type": "object", "title": "Experience Reward 1.13.0", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", + "description": "Defines the amount of experience rewarded when the entity dies or is successfully bred.", "additionalProperties": false, "properties": { "on_bred": { - "type": "string", - "default": 0, + "$ref": "../../../../molang/number.json", "description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.", "title": "On Bred" }, "on_death": { - "type": "string", - "default": 0, + "$ref": "../../../../molang/number.json", "description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.", "title": "On Death" } diff --git a/source/behavior/entities/1.13.0/components/minecraft.interact.json b/source/behavior/entities/1.13.0/components/minecraft.interact.json index 3eff2bf9..a846d4ae 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.interact.json +++ b/source/behavior/entities/1.13.0/components/minecraft.interact.json @@ -93,13 +93,12 @@ }, "properties": { "interactions": { + "title": "Interactions", + "description": "The interactions that are defined", "oneOf": [ { "type": "object", "$ref": "#/definitions/interaction_spec" }, { "type": "array", "items": { "$ref": "#/definitions/interaction_spec" } } - ], - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Interactions" + ] } } } diff --git a/source/behavior/entities/1.13.0/components/minecraft.navigation.climb.json b/source/behavior/entities/1.13.0/components/minecraft.navigation.climb.json index 4a9d7a7b..084055f8 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.navigation.climb.json +++ b/source/behavior/entities/1.13.0/components/minecraft.navigation.climb.json @@ -35,7 +35,7 @@ "title": "Blocks To Avoid", "items": { "title": "Block", - "description": "UNDOCUMENTED", + "description": "Tells the pathfinder which blocks to avoid when creating a path", "$comment": "UNDOCUMENTED", "oneOf": [ { "type": "string", "$ref": "../../../../general/block/identifier.json" }, diff --git a/source/behavior/entities/1.13.0/components/minecraft.navigation.float.json b/source/behavior/entities/1.13.0/components/minecraft.navigation.float.json index 35cca6ba..22c5cf54 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.navigation.float.json +++ b/source/behavior/entities/1.13.0/components/minecraft.navigation.float.json @@ -34,12 +34,12 @@ "description": "Tells the pathfinder which blocks to avoid when creating a path", "title": "Blocks To Avoid", "items": { - "title": "Block to Avoid", - "description": "UNDOCUMENTED", + "title": "Block", + "description": "Tells the pathfinder which blocks to avoid when creating a path", "$comment": "UNDOCUMENTED", "oneOf": [ { "type": "string", "$ref": "../../../../general/block/identifier.json" }, - { "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } + { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } ] } }, diff --git a/source/behavior/entities/1.13.0/components/minecraft.navigation.fly.json b/source/behavior/entities/1.13.0/components/minecraft.navigation.fly.json index 3eb3ab8f..e1e57079 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.navigation.fly.json +++ b/source/behavior/entities/1.13.0/components/minecraft.navigation.fly.json @@ -34,12 +34,12 @@ "description": "Tells the pathfinder which blocks to avoid when creating a path", "title": "Blocks To Avoid", "items": { - "title": "Block to Avoid", - "description": "UNDOCUMENTED", + "title": "Block", + "description": "Tells the pathfinder which blocks to avoid when creating a path", "$comment": "UNDOCUMENTED", "oneOf": [ { "type": "string", "$ref": "../../../../general/block/identifier.json" }, - { "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } + { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } ] } }, diff --git a/source/behavior/entities/1.13.0/components/minecraft.navigation.generic.json b/source/behavior/entities/1.13.0/components/minecraft.navigation.generic.json index 8da7d91b..af4ad780 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.navigation.generic.json +++ b/source/behavior/entities/1.13.0/components/minecraft.navigation.generic.json @@ -34,12 +34,12 @@ "description": "Tells the pathfinder which blocks to avoid when creating a path", "title": "Blocks To Avoid", "items": { - "title": "Block to Avoid", - "description": "UNDOCUMENTED", + "title": "Block", + "description": "Tells the pathfinder which blocks to avoid when creating a path", "$comment": "UNDOCUMENTED", "oneOf": [ { "type": "string", "$ref": "../../../../general/block/identifier.json" }, - { "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } + { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } ] } }, diff --git a/source/behavior/entities/1.13.0/components/minecraft.navigation.swim.json b/source/behavior/entities/1.13.0/components/minecraft.navigation.swim.json index de9125a0..547fa78e 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.navigation.swim.json +++ b/source/behavior/entities/1.13.0/components/minecraft.navigation.swim.json @@ -34,12 +34,12 @@ "description": "Tells the pathfinder which blocks to avoid when creating a path", "title": "Blocks To Avoid", "items": { - "title": "Block to Avoid", - "description": "UNDOCUMENTED", + "title": "Block", + "description": "Tells the pathfinder which blocks to avoid when creating a path", "$comment": "UNDOCUMENTED", "oneOf": [ { "type": "string", "$ref": "../../../../general/block/identifier.json" }, - { "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } + { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } ] } }, diff --git a/source/behavior/entities/1.13.0/components/minecraft.navigation.walk.json b/source/behavior/entities/1.13.0/components/minecraft.navigation.walk.json index 2c0f0e3b..1d4f64eb 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.navigation.walk.json +++ b/source/behavior/entities/1.13.0/components/minecraft.navigation.walk.json @@ -34,12 +34,12 @@ "description": "Tells the pathfinder which blocks to avoid when creating a path", "title": "Blocks To Avoid", "items": { - "title": "Block to Avoid", - "description": "UNDOCUMENTED", + "title": "Block", + "description": "Tells the pathfinder which blocks to avoid when creating a path", "$comment": "UNDOCUMENTED", "oneOf": [ { "type": "string", "$ref": "../../../../general/block/identifier.json" }, - { "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } + { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } ] } }, diff --git a/source/behavior/features/1.13.0/features/minecraft.scatter_feature.json b/source/behavior/features/1.13.0/features/minecraft.scatter_feature.json index b5f46f41..09670095 100644 --- a/source/behavior/features/1.13.0/features/minecraft.scatter_feature.json +++ b/source/behavior/features/1.13.0/features/minecraft.scatter_feature.json @@ -43,12 +43,12 @@ "type": "array", "items": [ { - "title": "Lower bound", + "title": "Lower Bound", "$ref": "../../../../molang/number.json", "description": "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around" }, { - "title": "Upper bound", + "title": "Upper Bound", "$ref": "../../../../molang/number.json", "description": "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around" } @@ -101,13 +101,13 @@ "properties": { "numerator": { "title": "Numerator", - "description": "UNDOUCMNEATED", + "description": "UNDOCUMENTED", "type": "integer", "minimum": 1 }, "denominator": { "title": "Denominator", - "description": "UNDOUCMNEATED", + "description": "UNDOCUMENTED", "type": "integer", "minimum": 1 }