@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
99 lines • 3.49 kB
JSON
{
"fields": [
{
"id": "filters",
"title": "Filters",
"description": "If non-empty, provides criteria for filtering which nearby Mobs can be followed. If empty default criteria will be used, which will exclude Players, Squid variants, Fish variants, Tadpoles, Dolphins, and mobs of the same type as the owner of the Goal.",
"dataType": 20
},
{
"id": "preferred_actor_type",
"title": "Preferred Actor Type",
"description": "The type of actor to prefer following. If left unspecified, a random actor among those in range will be chosen.",
"dataType": 2
},
{
"id": "search_range",
"title": "Search Range",
"description": "The distance in blocks it will look for a mob to follow",
"defaultValue": 0,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.follow_mob/",
"content": 20
}
]
}
},
{
"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.follow_mob/",
"content": 1
}
]
}
},
{
"id": "stop_distance",
"title": "Stop Distance",
"description": "The distance in blocks this mob stops from the mob it is following",
"defaultValue": 2,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.follow_mob/",
"content": 3
}
]
}
},
{
"id": "use_home_position_restriction",
"title": "Use Home Position Restriction",
"description": "If true, the mob will respect the 'minecraft:home' component's 'restriction_radius' field when choosing a target to follow. If false, it will choose target position without considering home restrictions.",
"defaultValue": true,
"dataType": 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.follow_mob/",
"content": 4
}
]
}
}
],
"description": "Allows the mob to follow other mobs.",
"title": "Follow Mob Behavior",
"samples": {
"/vanilla/behavior_pack/entities/parrot.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:parrot_wild/minecraft:behavior.follow_mob/",
"content": {
"priority": 4,
"speed_multiplier": 1,
"stop_distance": 3,
"search_range": 20
}
}
]
},
"id": "minecraft:behavior.follow_mob"
}