@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
201 lines • 6.27 kB
JSON
{
"fields": [
{
"id": "blocks",
"title": "Blocks",
"description": "Blocks that the mob is looking for to eat/raid",
"dataType": 17,
"samples": {
"/vanilla/behavior_pack/entities/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": [
"minecraft:sweet_berry_bush",
"minecraft:cave_vines_head_with_berries",
"minecraft:cave_vines_body_with_berries"
]
}
],
"/vanilla/behavior_pack/entities/rabbit.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": [
"minecraft:carrots"
]
}
]
}
},
{
"id": "eat_delay",
"title": "Eat Delay",
"description": "Time in seconds between each time it eats/raids",
"defaultValue": 2,
"dataType": 0
},
{
"id": "full_delay",
"title": "Full Delay",
"description": "Amount of time in seconds before this mob wants to eat/raid again after eating its maximum",
"defaultValue": 100,
"dataType": 0
},
{
"id": "goal_radius",
"title": "Goal Radius",
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"defaultValue": 0.5,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 0.8
}
],
"/vanilla/behavior_pack/entities/rabbit.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 1
}
]
}
},
{
"id": "initial_eat_delay",
"title": "Initial Eat Delay",
"description": "Time in seconds before starting to eat/raid once it arrives at it",
"defaultValue": 0,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 2
}
]
}
},
{
"id": "max_to_eat",
"title": "Max To Eat",
"description": "Maximum number of crops this entity wants to eat/raid. If set to zero or less then it doesn't have a maximum",
"defaultValue": 6,
"dataType": 0
},
{
"id": "search_range",
"title": "Search Range",
"description": "Distance in blocks the mob will look for crops to eat",
"defaultValue": 0,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 12
}
],
"/vanilla/behavior_pack/entities/rabbit.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 16
}
]
}
},
{
"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/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 1.2
}
],
"/vanilla/behavior_pack/entities/rabbit.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 0.6
}
]
}
},
{
"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/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 12
}
],
"/vanilla/behavior_pack/entities/rabbit.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 5
}
]
}
},
{
"id": "search_height",
"title": "Search Height",
"dataType": 7,
"samples": {
"/vanilla/behavior_pack/entities/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": 2
}
]
}
}
],
"description": "Allows the mob to eat/raid crops out of farms until they are full.",
"title": "Raid Garden Behavior",
"samples": {
"/vanilla/behavior_pack/entities/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": {
"priority": 12,
"blocks": [
"minecraft:sweet_berry_bush",
"minecraft:cave_vines_head_with_berries",
"minecraft:cave_vines_body_with_berries"
],
"speed_multiplier": 1.2,
"search_range": 12,
"search_height": 2,
"goal_radius": 0.8,
"max_to_eat": 0,
"initial_eat_delay": 2
}
}
],
"/vanilla/behavior_pack/entities/rabbit.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.raid_garden/",
"content": {
"priority": 5,
"blocks": [
"minecraft:carrots"
],
"search_range": 16,
"goal_radius": 1,
"speed_multiplier": 0.6
}
}
]
},
"id": "minecraft:behavior.raid_garden"
}