@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
93 lines • 3.19 kB
JSON
{
"fields": [
{
"id": "active_speed",
"title": "Active Speed",
"description": "The speed this entity moves when this behavior has started or while it's active.",
"defaultValue": 0.6,
"dataType": 3
},
{
"id": "fireball_range",
"title": "Fireball Range",
"description": "Maximum distance of this entity's fireball attack while strafing.",
"defaultValue": 64,
"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": "switch_direction_probability",
"title": "Switch Direction Probability",
"description": "Percent chance to to switch this entity's strafe direction between clockwise and counterclockwise. Switch direction chance occurs each time a new target is chosen (1.0 = 100%).",
"defaultValue": 0.125,
"dataType": 3
},
{
"id": "target_in_range_and_in_view_time",
"title": "Target In Range And In View Time",
"description": "Time (in seconds) the target must be in fireball range, and in view [ie, no solid terrain in-between the target and this entity], before a fireball can be shot.",
"defaultValue": 0.25,
"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": "view_angle",
"title": "View Angle",
"description": "The target must be within \"view_angle\" degrees of the dragon's current rotation before a fireball can be shot.",
"defaultValue": 10,
"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.dragonstrafeplayer/",
"content": 2
}
]
}
}
],
"restrictions": [
{
"id": "minecraft:ender_dragon",
"type": "entity_type"
}
],
"description": "Allows this entity to fly around looking for a player to shoot fireballs at.",
"title": "Dragonstrafeplayer Behavior",
"samples": {
"/vanilla/behavior_pack/entities/ender_dragon.json": [
{
"path": "/minecraft:entity/component_groups/dragon_flying/minecraft:behavior.dragonstrafeplayer/",
"content": {
"priority": 2
}
}
]
},
"id": "minecraft:behavior.dragonstrafeplayer"
}