From 8e5189980d3f535bd36e7cde90d8ee8e0c45f3d9 Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Sun, 17 Jul 2022 13:19:30 +0100 Subject: [PATCH 1/3] Update block_climber.json Corrected description Organised --- .../format/components/block_climber.json | 29 ++----------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/source/behavior/entities/format/components/block_climber.json b/source/behavior/entities/format/components/block_climber.json index 7d20ac79..c1d724f1 100644 --- a/source/behavior/entities/format/components/block_climber.json +++ b/source/behavior/entities/format/components/block_climber.json @@ -1,31 +1,8 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.block_climber", - "type": "object", "title": "Block Climber", + "type": "object", "additionalProperties": false, - "description": "Fires off a specified event when a block in the block list is broken within the sensor range.", - "properties": { - "on_break": { - "title": "On Break", - "type": "array", - "description": "List of blocks to watch for being broken to fire off a specified event. If a block is in multiple lists, multiple events will fire.", - "items": { - "$ref": "../../../../general/block/identifier.json" - } - }, - "sensor_radius": { - "title": "Sensor Radius", - "type": "number", - "default": 16.0, - "description": "The maximum radial distance in which a specified block can be detected. The biggest radius is 32.0." - }, - "sources": { - "title": "Sources", - "type": "array", - "description": "List of sources that break the block to listen for. If none are specified, all block breaks will be detected.", - "items": { - "$ref": "../../../../general/block/identifier.json" - } - } - } + "description": "Allows the player to detect and manuever on the scaffolding block.", + "properties": {} } From d88956702ae8d1da97bdf25703f43b28bbdcf6ce Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Sun, 17 Jul 2022 13:19:40 +0100 Subject: [PATCH 2/3] Update angry.json Corrected description Organised --- .../entities/format/components/angry.json | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/source/behavior/entities/format/components/angry.json b/source/behavior/entities/format/components/angry.json index ee58fc64..fb20e9fb 100644 --- a/source/behavior/entities/format/components/angry.json +++ b/source/behavior/entities/format/components/angry.json @@ -2,32 +2,33 @@ "$id": "blockception.minecraft.behavior.entities.minecraft.angry", "type": "object", "title": "Angry", - "description": "Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.", + "description": "Defines the entity's 'angry' state using a timer", "additionalProperties": false, "required": [], "properties": { "broadcast_anger": { + "title": "Broadcast Anger", "type": "boolean", "default": false, - "description": "If true, other entities of the same entity definition within the broadcastRange will also become angry", - "title": "Broadcast Anger" + "description": "If true, other entities of the same entity definition within the broadcastRange will also become angry" }, "broadcast_filters": { + "title": "Broadcast Filters", "$ref": "../../filters/filters.json", - "description": "Conditions that make this entry in the list valid", - "title": "Broadcast Filters" + "description": "Conditions that make this entry in the list valid" }, "filters": { "$ref": "../../filters/filters.json", "description": "Filter out mob types that it should not attack while angry (other Piglins)" }, "broadcast_range": { + "title": "Broadcast Range", "type": "integer", "default": 20, - "description": "Distance in blocks within which other entities of the same entity definition will become angry", - "title": "Broadcast Range" + "description": "Distance in blocks within which other entities of the same entity definition will become angry" }, "broadcast_targets": { + "title": "Broadcast Targets", "type": "array", "description": "A list of entity families to broadcast anger to", "items": { @@ -36,24 +37,24 @@ "pattern": "^.+$", "title": "Broadcast Targets" }, - "title": "Broadcast Targets" + }, "calm_event": { + "title": "Calm Event", "$ref": "../types/event.json", - "description": "Event to run after the number of seconds specified in duration expires (when the entity stops being `angry')", - "title": "Calm Event" + "description": "Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")" }, "angry_sound": { + "title": "Angry Sound", "type": "string", "default": "", - "description": "The sound event to play when the mob is angry", - "title": "Angry Sound" + "description": "The sound event to play when the mob is angry" }, "broadcast_anger_on_attack": { + "title": "Broadcast Anger On Attack", "type": "boolean", "default": false, - "description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks", - "title": "Broadcast Anger On Attack" + "description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks" }, "broadcast_anger_on_being_attacked": { "type": "boolean", @@ -62,16 +63,16 @@ "title": "Broadcast Anger On Being Attacked" }, "duration": { + "title": "Duration", "type": "integer", "default": 25, - "description": "The amount of time in seconds that the entity will be angry", - "title": "Duration" + "description": "The amount of time in seconds that the entity will be angry" }, "duration_delta": { + "title": "Duration Delta", "type": "integer", "default": 0, - "description": "Variance in seconds added to the duration [-delta, delta]", - "title": "Duration Delta" + "description": "Variance in seconds added to the duration [-delta, delta]" }, "sound_interval": { "description": "The range of time in seconds to randomly wait before playing the sound again", From 7b14b2469434473f82e39b2b6d6b93fecd759e53 Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Sun, 17 Jul 2022 14:14:20 +0100 Subject: [PATCH 3/3] Update avoid_mob_type.json Removed irrelevant property --- .../behavior/entities/format/behaviors/avoid_mob_type.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/behavior/entities/format/behaviors/avoid_mob_type.json b/source/behavior/entities/format/behaviors/avoid_mob_type.json index 059ac969..19a9bee3 100644 --- a/source/behavior/entities/format/behaviors/avoid_mob_type.json +++ b/source/behavior/entities/format/behaviors/avoid_mob_type.json @@ -75,12 +75,6 @@ "default": 1.0, "description": "Multiplier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster." }, - "work_in_rain_tolerance": { - "title": "Work In Rain Tolerance", - "type": "integer", - "default": -1, - "description": "If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal" - }, "ignore_visibility": { "type": "boolean", "default": false,