UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

105 lines 2.9 kB
{ "fields": [ { "id": "use_efficiency", "title": "use_efficiency", "description": "Determines whether this item should be impacted if the efficiency enchantment is applied to it.", "dataType": 1 }, { "id": "destroy_speeds", "title": "destroy_speeds", "description": "A list of blocks to dig with correlating speeds of digging.", "dataType": 15, "subForm": { "title": "V1 20 50 DiggerItemComponent BlockInfo", "description": "V1 20 50 DiggerItemComponent BlockInfo", "fields": [ { "id": "block", "title": "block", "description": "Block to be dug.", "dataType": 16, "subForm": { "title": "Block", "description": "Block", "fields": [ { "id": "name", "title": "name", "description": "name", "dataType": 2 }, { "id": "tags", "title": "tags", "description": "tags", "dataType": 2 }, { "id": "states", "title": "states", "description": "states", "dataType": 0, "alternates": [ { "id": "states", "dataType": 2 }, { "id": "states", "dataType": 1 } ] } ] }, "alternates": [ { "id": "block", "dataType": 2 }, { "id": "block", "dataType": 16 } ] }, { "id": "speed", "title": "speed", "description": "Digging speed for the correlating block(s).", "dataType": 0 } ] } } ], "description": "Allows a creator to determine how quickly an item can dig specific blocks.", "samples": { "sample": [ { "path": "digger", "content": { "minecraft:digger": { "use_efficiency": true, "destroy_speeds": [ { "speed": 6, "block": { "tags": "query.any_tag( 'wood' )" } }, { "block": "minecraft:coal_ore", "speed": 2 } ] } } } ] }, "title": "Digger", "id": "minecraft:digger" }