Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/wearable.json
2024-04-29 15:22:36 +02:00

33 lines
1008 B
JSON

{
"$id": "blockception.minecraft.behavior.items.minecraft:wearable",
"title": "Wearable",
"description": "Wearable item component.",
"type": "object",
"additionalProperties": false,
"properties": {
"protection": { "type": "integer", "description": "How much protection does the armor item have.", "title": "Protection", "minimum": 0 },
"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": [
"none",
"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"
]
}
}
}