UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

78 lines 2.48 kB
{ "fields": [ { "id": "active_speed", "title": "Active Speed", "description": "The speed this entity moves when this behavior has started or while it's active.", "defaultValue": 3, "dataType": 3 }, { "id": "continue_charge_threshold_time", "title": "Continue Charge Threshold Time", "description": "If the dragon is outside the \"target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled.", "defaultValue": 0.5, "dataType": 3 }, { "id": "flight_speed", "title": "Flight Speed", "description": "The speed this entity moves while this behavior is not active.", "defaultValue": 0.6, "dataType": 3 }, { "id": "target_zone", "title": "Target Zone", "description": "Minimum and maximum distance, from the target, this entity can use this behavior.", "dataType": 18 }, { "id": "turn_speed", "title": "Turn Speed", "description": "The speed at which this entity turns while using this behavior.", "defaultValue": 0.7, "dataType": 3 }, { "id": "priority", "title": "Priority", "hideSamples": true, "description": "As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.", "dataType": 0, "samples": { "/vanilla/behavior_pack/entities/ender_dragon.json": [ { "path": "/minecraft:entity/component_groups/dragon_flying/minecraft:behavior.dragonchargeplayer/", "content": 1 } ] } } ], "requires": [ { "id": "minecraft:behavior.dragonscanning", "type": "entity_component" } ], "restrictions": [ { "id": "minecraft:ender_dragon", "type": "entity_type" } ], "description": "Allows this entity to attack a player by charging at them. The player is chosen by the \"minecraft:behavior.dragonscanning\".", "title": "Dragonchargeplayer Behavior", "samples": { "/vanilla/behavior_pack/entities/ender_dragon.json": [ { "path": "/minecraft:entity/component_groups/dragon_flying/minecraft:behavior.dragonchargeplayer/", "content": { "priority": 1 } } ] }, "id": "minecraft:behavior.dragonchargeplayer" }