@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
53 lines • 1.45 kB
JSON
{
"fields": [
{
"id": "event",
"title": "Event",
"description": "The event to run when the conditions for this trigger are met.",
"dataType": 22,
"samples": {
"/vanilla/behavior_pack/entities/ender_dragon.json": [
{
"path": "/minecraft:entity/components/minecraft:on_death/",
"content": "minecraft:start_death"
}
]
}
},
{
"id": "filters",
"title": "Filters",
"description": "The list of conditions for this trigger to execute.",
"dataType": 20
},
{
"id": "target",
"title": "Target",
"description": "The target of the event.",
"defaultValue": "self",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/ender_dragon.json": [
{
"path": "/minecraft:entity/components/minecraft:on_death/",
"content": "self"
}
]
}
}
],
"description": "Only usable by the Ender Dragon. Adds a trigger to call on this entity's death.",
"title": "On Death",
"samples": {
"/vanilla/behavior_pack/entities/ender_dragon.json": [
{
"path": "/minecraft:entity/components/minecraft:on_death/",
"content": {
"event": "minecraft:start_death",
"target": "self"
}
}
]
},
"id": "minecraft:on_death"
}