@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
110 lines • 3.01 kB
JSON
{
"fields": [
{
"id": "items",
"title": "Items",
"description": "List of items that this mob likes",
"dataType": 17,
"samples": {
"/vanilla/behavior_pack/entities/wolf.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.beg/",
"content": [
"bone",
"porkchop",
"cooked_porkchop",
"chicken",
"cooked_chicken",
"beef",
"cooked_beef",
"rotten_flesh",
"muttonraw",
"muttoncooked",
"rabbit",
"cooked_rabbit"
]
}
]
}
},
{
"id": "look_distance",
"title": "Look Distance",
"description": "Distance in blocks the mob will beg from",
"defaultValue": 8,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/wolf.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.beg/",
"content": 8
}
]
}
},
{
"id": "look_time",
"title": "Look Time",
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it",
"dataType": 18,
"samples": {
"/vanilla/behavior_pack/entities/wolf.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.beg/",
"content": [
2,
4
]
}
]
}
},
{
"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/wolf.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.beg/",
"content": 9
}
]
}
}
],
"description": "Allows this mob to look at and follow the player that holds food they like.",
"title": "Beg Behavior",
"samples": {
"/vanilla/behavior_pack/entities/wolf.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.beg/",
"content": {
"priority": 9,
"look_distance": 8,
"look_time": [
2,
4
],
"items": [
"bone",
"porkchop",
"cooked_porkchop",
"chicken",
"cooked_chicken",
"beef",
"cooked_beef",
"rotten_flesh",
"muttonraw",
"muttoncooked",
"rabbit",
"cooked_rabbit"
]
}
}
]
},
"id": "minecraft:behavior.beg"
}