@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
54 lines • 1.69 kB
JSON
{
"fields": [
{
"id": "duration",
"title": "Duration",
"description": "The amount of time to roar for.",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/warden.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.roar/",
"content": 4.2
}
]
}
},
{
"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/warden.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.roar/",
"content": 2
}
]
}
}
],
"requires": [
{
"id": "minecraft:anger_level",
"type": "entity_component"
}
],
"description": "Allows this entity to roar at another entity based on data in `minecraft:anger_level`. Once the anger threshold specified in `minecraft:anger_level` has been reached, this entity will roar for the specified amount of time, look at the other entity, apply anger boost towards it, and finally target it.",
"title": "Roar Behavior",
"samples": {
"/vanilla/behavior_pack/entities/warden.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.roar/",
"content": {
"priority": 2,
"duration": 4.2
}
}
]
},
"id": "minecraft:behavior.roar"
}