UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

259 lines 8.33 kB
{ "fields": [ { "id": "celebration_sound", "title": "Celebration Sound", "description": "The sound event to trigger during the celebration.", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/evocation_illager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": "celebrate" } ], "/vanilla/behavior_pack/entities/pillager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": "celebrate" } ] } }, { "id": "duration", "title": "Duration", "description": "The duration in seconds that the celebration lasts for.", "defaultValue": 30, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/evocation_illager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": 30 } ], "/vanilla/behavior_pack/entities/pillager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": 30 } ] } }, { "id": "jump_interval", "title": "Jump Interval", "description": "Minimum and maximum time between jumping (positive, in seconds).", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/evocation_illager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "range_min": 1, "range_max": 3.5 } } ], "/vanilla/behavior_pack/entities/pillager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "range_min": 1, "range_max": 3.5 } } ] } }, { "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/evocation_illager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "event": "minecraft:stop_celebrating", "target": "self" } } ], "/vanilla/behavior_pack/entities/pillager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "event": "minecraft:stop_celebrating", "target": "self" } } ] } }, { "id": "sound_interval", "title": "Sound Interval", "description": "Minimum and maximum time between sound events (positive, in seconds).", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/evocation_illager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "range_min": 2, "range_max": 7 } } ], "/vanilla/behavior_pack/entities/pillager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "range_min": 2, "range_max": 7 } } ] } }, { "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/evocation_illager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": 5 } ], "/vanilla/behavior_pack/entities/pillager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": 5 } ] } } ], "description": "Allows this entity to celebrate surviving a raid by making celebration sounds and jumping.", "title": "Celebrate Behavior", "samples": { "/vanilla/behavior_pack/entities/evocation_illager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "priority": 5, "celebration_sound": "celebrate", "sound_interval": { "range_min": 2, "range_max": 7 }, "jump_interval": { "range_min": 1, "range_max": 3.5 }, "duration": 30, "on_celebration_end_event": { "event": "minecraft:stop_celebrating", "target": "self" } } } ], "/vanilla/behavior_pack/entities/pillager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "priority": 5, "celebration_sound": "celebrate", "sound_interval": { "range_min": 2, "range_max": 7 }, "jump_interval": { "range_min": 1, "range_max": 3.5 }, "duration": 30, "on_celebration_end_event": { "event": "minecraft:stop_celebrating", "target": "self" } } } ], "/vanilla/behavior_pack/entities/ravager.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "priority": 5, "celebration_sound": "celebrate", "sound_interval": { "range_min": 2, "range_max": 7 }, "jump_interval": { "range_min": 1, "range_max": 3.5 }, "duration": 30, "on_celebration_end_event": { "event": "minecraft:stop_celebrating", "target": "self" } } } ], "/vanilla/behavior_pack/entities/vindicator.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "priority": 5, "celebration_sound": "celebrate", "sound_interval": { "range_min": 2, "range_max": 7 }, "jump_interval": { "range_min": 1, "range_max": 3.5 }, "duration": 30, "on_celebration_end_event": { "event": "minecraft:stop_celebrating", "target": "self" } } } ], "/vanilla/behavior_pack/entities/witch.json": [ { "path": "/minecraft:entity/component_groups/minecraft:celebrate/minecraft:behavior.celebrate/", "content": { "priority": 5, "celebration_sound": "celebrate", "sound_interval": { "range_min": 2, "range_max": 7 }, "jump_interval": { "range_min": 1, "range_max": 3.5 }, "duration": 30, "on_celebration_end_event": { "event": "minecraft:stop_celebrating", "target": "self" } } } ] }, "id": "minecraft:behavior.celebrate" }