@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
117 lines • 3.64 kB
JSON
{
"fields": [
{
"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/bogged.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/drowned.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"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/bogged.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"content": 2
}
],
"/vanilla/behavior_pack/entities/drowned.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"content": 2
}
],
"/vanilla/behavior_pack/entities/zombie_villager_v2.json": [
{
"path": "/minecraft:entity/component_groups/from_abandoned_village/minecraft:behavior.flee_sun/",
"content": 4
}
],
"/vanilla/behavior_pack/entities/zombie_villager.json": [
{
"path": "/minecraft:entity/component_groups/from_abandoned_village/minecraft:behavior.flee_sun/",
"content": 4
}
]
}
}
],
"description": "Allows the mob to run away from direct sunlight and seek shade.",
"title": "Flee Sun Behavior",
"samples": {
"/vanilla/behavior_pack/entities/bogged.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"content": {
"priority": 2,
"speed_multiplier": 1
}
}
],
"/vanilla/behavior_pack/entities/drowned.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"content": {
"priority": 2,
"speed_multiplier": 1
}
}
],
"/vanilla/behavior_pack/entities/skeleton.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"content": {
"priority": 2,
"speed_multiplier": 1
}
}
],
"/vanilla/behavior_pack/entities/stray.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.flee_sun/",
"content": {
"priority": 2,
"speed_multiplier": 1
}
}
],
"/vanilla/behavior_pack/entities/zombie_villager_v2.json": [
{
"path": "/minecraft:entity/component_groups/from_abandoned_village/minecraft:behavior.flee_sun/",
"content": {
"priority": 4,
"speed_multiplier": 1
}
}
],
"/vanilla/behavior_pack/entities/zombie_villager.json": [
{
"path": "/minecraft:entity/component_groups/from_abandoned_village/minecraft:behavior.flee_sun/",
"content": {
"priority": 4,
"speed_multiplier": 1
}
}
]
},
"id": "minecraft:behavior.flee_sun"
}