From 86af037f017139076cfc91b8b5e13d613681575f Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Wed, 13 Jul 2022 22:41:33 +0100 Subject: [PATCH] Update target_when_pushed.json Updated description Removed undocumented comments Updated example --- .../format/behaviors/target_when_pushed.json | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/source/behavior/entities/format/behaviors/target_when_pushed.json b/source/behavior/entities/format/behaviors/target_when_pushed.json index 2ad26d14..ea69c090 100644 --- a/source/behavior/entities/format/behaviors/target_when_pushed.json +++ b/source/behavior/entities/format/behaviors/target_when_pushed.json @@ -1,7 +1,6 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.target_when_pushed", - "description": "Allows this mob to target an entity that pushed it", - "$comment": "UNDOCUMENTED", + "description": "Allows an entity to select a valid target entity that pushed it.", "type": "object", "title": "Target When Pushed", "additionalProperties": false, @@ -11,21 +10,21 @@ "$ref": "types/priority.json" }, "entity_types": { - "$ref": "../types/entity_types.json", "title": "Entity Types", - "description": "The list of conditions the other entity must meet to be a valid target", - "$comment": "UNDOCUMENTED" + "$ref": "../types/entity_types.json", + "description": "The list of conditions the other entity must meet to be a valid target" }, "percent_chance": { - "type": "number", "title": "Percent Chance", - "description": "The chance that the entity becomes a target when this mob is pushed", - "$comment": "UNDOCUMENTED" + "type": "number", + "default": 5.0, + "description": "Probability that the entity will target the entity that pushed it." } }, "examples": [ { - "percent_chance": 0.0 + "percent_chance": 5.0, + "entity_types": [] } ] }