UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

86 lines 3.03 kB
{ "title": "Break doors annotation", "note": "Requires the entity's `navigation` component to have the parameter `can_break_doors` set to `true`.", "description": "Allows an entity to break doors, assuming that that flags set up for the component to use in navigation.", "fields": [ { "id": "break_time", "description": "The time in seconds required to break through doors.", "dataType": 0, "samples": { "/vanilla/behavior_pack/entities/vindicator.json": [ { "path": "/minecraft:entity/component_groups/minecraft:raid_configuration/minecraft:annotation.break_door/", "content": 30 } ] }, "defaultValue": 12, "title": "Break Time" }, { "id": "min_difficulty", "title": "Minimum Difficulty", "description": "The minimum difficulty that the world must be on for this entity to break doors.", "dataType": 8, "lookupId": "difficulty", "samples": { "/vanilla/behavior_pack/entities/vindicator.json": [ { "path": "/minecraft:entity/component_groups/minecraft:raid_configuration/minecraft:annotation.break_door/", "content": "normal" } ] }, "defaultValue": "hard" } ], "samples": { "/vanilla/behavior_pack/entities/drowned.json": [ { "path": "/minecraft:entity/component_groups/minecraft:can_break_doors/minecraft:annotation.break_door/", "content": {} } ], "/vanilla/behavior_pack/entities/husk.json": [ { "path": "/minecraft:entity/component_groups/minecraft:can_break_doors/minecraft:annotation.break_door/", "content": {} } ], "/vanilla/behavior_pack/entities/vindicator.json": [ { "path": "/minecraft:entity/component_groups/minecraft:raid_configuration/minecraft:annotation.break_door/", "content": { "break_time": 30, "min_difficulty": "normal" } } ], "/vanilla/behavior_pack/entities/zombie_villager_v2.json": [ { "path": "/minecraft:entity/component_groups/can_break_doors/minecraft:annotation.break_door/", "content": {} } ], "/vanilla/behavior_pack/entities/zombie_villager.json": [ { "path": "/minecraft:entity/component_groups/can_break_doors/minecraft:annotation.break_door/", "content": {} } ], "/vanilla/behavior_pack/entities/zombie.json": [ { "path": "/minecraft:entity/component_groups/minecraft:can_break_doors/minecraft:annotation.break_door/", "content": {} } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/entities/gray_zombie_leader.behavior.json": [ { "path": "/minecraft:entity/components/minecraft:annotation.break_door/", "content": {} } ] }, "id": "minecraft:annotation.break_door" }