Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/wearable.json
DW623 d3a8c7a4a4 Add Item Examples (#182)
Add Examples to Item Components from MS-Learn Website
2023-08-17 20:04:39 +02:00

32 lines
866 B
JSON

{
"$id": "blockception.minecraft.behavior.items.minecraft:wearable",
"title": "Wearable",
"description": "Wearable item component.",
"type": "object",
"additionalProperties": false,
"properties": {
"dispensable": { "title": "Dispensable", "description": "Sets if the item can be dropped by a dispenser block", "type": "boolean" },
"slot": {
"title": "Slot",
"description": "Which equipment slot the item can fit in",
"type": "string",
"enum": [
"slot.weapon.mainhand",
"none",
"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"
]
}
}
}