UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

169 lines 5.69 kB
{ "fields": [ { "id": "slot", "title": "enum SharedTypes_Legacy_EquipmentSlot", "description": "Specifies where the item can be worn. If any non-hand slot is chosen, the max stack size is set to 1.", "dataType": 2, "samples": { "/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": "slot.armor.chest" } ], "/samples/custom_items/behavior_packs/custom_item/items/crown.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": "slot.armor.head" } ], "/samples/custom_items/behavior_packs/custom_item/items/my_boots.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": "slot.armor.feet" } ], "/samples/custom_items/behavior_packs/custom_item/items/my_helm.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": "slot.armor.head" } ], "/samples/custom_items/behavior_packs/custom_item/items/my_leggings.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": "slot.armor.legs" } ], "/samples/custom_items/behavior_packs/custom_item/items/wrench.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": "slot.weapon.offhand" } ] } }, { "id": "protection", "title": "protection", "description": "How much protection the wearable item provides. Default is set to 0.", "dataType": 0 }, { "id": "dispensable", "title": "Dispensable", "dataType": 2, "samples": { "/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": true } ], "/samples/custom_items/behavior_packs/custom_item/items/crown.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": true } ] } } ], "description": "Sets the wearable item component.", "note": "Here are the following equipment slots that can be set for the value of slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest, slot.equippable", "title": "Wearable", "samples": { "/samples/casual_creator/chill_dreams/complete/behavior_packs/mamm_cds/items/journal_pencil.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.weapon.offhand" } } ], "/samples/casual_creator/chill_dreams/complete/behavior_packs/mamm_cds/items/journal.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.weapon.offhand" } } ], "/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.armor.chest" } } ], "/samples/custom_items/behavior_packs/custom_item/items/crown.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.armor.head" } } ], "/samples/custom_items/behavior_packs/custom_item/items/my_boots.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.armor.feet" } } ], "/samples/custom_items/behavior_packs/custom_item/items/my_helm.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.armor.head" } } ], "/samples/custom_items/behavior_packs/custom_item/items/my_leggings.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.armor.legs" } } ], "/samples/custom_items/behavior_packs/custom_item/items/wrench.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.weapon.offhand" } } ], "/samples/debug_tools/behavior_packs/common/items/magnifying_glass.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.weapon.offhand" } } ], "/samples/debug_tools/behavior_packs/common/items/wrench.json": [ { "path": "/minecraft:item/components/minecraft:wearable/", "content": { "dispensable": true, "slot": "slot.weapon.offhand" } } ] }, "id": "minecraft:wearable" }