@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
67 lines • 1.93 kB
JSON
{
"fields": [
{
"id": "cooldown_time",
"title": "Cooldown Time",
"description": "Time in seconds the mob has to wait before using the goal again",
"defaultValue": 0.5,
"dataType": 3
},
{
"id": "duration",
"title": "Duration",
"description": "Goal duration in seconds",
"defaultValue": 5,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/warden.json": [
{
"path": "/minecraft:entity/component_groups/emerging/minecraft:behavior.emerge/",
"content": 7
}
]
}
},
{
"id": "on_done",
"title": "On Done",
"description": "Trigger to be executed when the goal execution is about to end",
"dataType": 22,
"samples": {
"/vanilla/behavior_pack/entities/warden.json": [
{
"path": "/minecraft:entity/component_groups/emerging/minecraft:behavior.emerge/",
"content": {
"event": "minecraft:emerged",
"target": "self"
}
}
]
}
},
{
"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
}
],
"description": "Allows this entity to emerge from the ground",
"title": "Emerge Behavior",
"samples": {
"/vanilla/behavior_pack/entities/warden.json": [
{
"path": "/minecraft:entity/component_groups/emerging/minecraft:behavior.emerge/",
"content": {
"duration": 7,
"on_done": {
"event": "minecraft:emerged",
"target": "self"
}
}
}
]
},
"id": "minecraft:behavior.emerge"
}