@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
64 lines • 2.08 kB
JSON
{
"fields": [
{
"id": "interval",
"title": "Interval",
"description": "A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal",
"defaultValue": 120,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/panda.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:panda_lazy/minecraft:behavior.lay_down/",
"content": 400
}
]
}
},
{
"id": "random_stop_interval",
"title": "Random Stop Interval",
"description": "a random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound",
"defaultValue": 120,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/panda.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:panda_lazy/minecraft:behavior.lay_down/",
"content": 2000
}
]
}
},
{
"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/panda.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:panda_lazy/minecraft:behavior.lay_down/",
"content": 5
}
]
}
}
],
"description": "Allows mobs to lay down at times",
"title": "Lay Down Behavior",
"samples": {
"/vanilla/behavior_pack/entities/panda.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:panda_lazy/minecraft:behavior.lay_down/",
"content": {
"priority": 5,
"interval": 400,
"random_stop_interval": 2000
}
}
]
},
"id": "minecraft:behavior.lay_down"
}