@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
116 lines • 3.6 kB
JSON
{
"fields": [
{
"id": "can_land_on_trees",
"title": "Can Land On Trees",
"description": "If true, the mob can stop flying and land on a tree instead of the ground",
"defaultValue": true,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.random_fly/",
"content": true
}
]
}
},
{
"id": "speed_multiplier",
"title": "Speed Multiplier",
"description": "Movement speed multiplier of the mob when using this AI Goal",
"defaultValue": 1,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.random_fly/",
"content": 1
}
]
}
},
{
"id": "xz_dist",
"title": "Xz Dist",
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"defaultValue": 10,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.random_fly/",
"content": 15
}
]
}
},
{
"id": "y_dist",
"title": "Y Dist",
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"defaultValue": 7,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.random_fly/",
"content": 1
}
]
}
},
{
"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/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.random_fly/",
"content": 3
}
]
}
},
{
"id": "y_offset",
"title": "Y Offset",
"dataType": 7
},
{
"id": "avoid_damage_blocks",
"title": "Avoid Damage Blocks",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.random_fly/",
"content": true
}
]
}
}
],
"description": "Allows a mob to randomly fly around.",
"title": "Random Fly Behavior",
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.random_fly/",
"content": {
"priority": 3,
"xz_dist": 15,
"y_dist": 1,
"y_offset": 0,
"speed_multiplier": 1,
"can_land_on_trees": true,
"avoid_damage_blocks": true
}
}
]
},
"id": "minecraft:behavior.random_fly"
}