UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

137 lines 4.56 kB
{ "fields": [ { "id": "duration", "title": "Duration", "description": "The duration in seconds that the celebration lasts for.", "defaultValue": 30, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": 30 } ], "/vanilla/behavior_pack/entities/villager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": 30 } ] } }, { "id": "fireworks_interval", "title": "Fireworks Interval", "description": "Minimum and maximum time between firework (positive, in seconds).", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": { "range_min": 2, "range_max": 7 } } ], "/vanilla/behavior_pack/entities/villager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": { "range_min": 2, "range_max": 7 } } ] } }, { "id": "on_celebration_end_event", "title": "On Celebration End Event", "description": "The event to trigger when the goal's duration expires.", "dataType": 22, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": { "event": "minecraft:stop_celebrating", "target": "self" } } ], "/vanilla/behavior_pack/entities/villager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": { "event": "minecraft:stop_celebrating", "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, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": 5 } ], "/vanilla/behavior_pack/entities/villager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": 5 } ] } } ], "description": "Allows this entity to celebrate surviving a raid by shooting fireworks.", "title": "Celebrate Survive Behavior", "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": { "priority": 5, "fireworks_interval": { "range_min": 2, "range_max": 7 }, "duration": 30, "on_celebration_end_event": { "event": "minecraft:stop_celebrating", "target": "self" } } } ], "/vanilla/behavior_pack/entities/villager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate_survive/", "content": { "priority": 5, "fireworks_interval": { "range_min": 2, "range_max": 7 }, "duration": 30, "on_celebration_end_event": { "event": "minecraft:stop_celebrating", "target": "self" } } } ] }, "id": "minecraft:behavior.celebrate_survive" }