Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/wearable.json

33 lines
1008 B
JSON
Raw Normal View History

2022-06-07 20:42:18 +02:00
{
2022-07-20 21:25:32 +02:00
"$id": "blockception.minecraft.behavior.items.minecraft:wearable",
2022-06-07 20:42:18 +02:00
"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" },
2022-06-07 20:42:18 +02:00
"slot": {
"title": "Slot",
"description": "Which equipment slot the item can fit in",
2022-06-07 20:42:18 +02:00
"type": "string",
"enum": [
"none",
2024-04-29 18:22:36 +05:00
"slot.weapon.mainhand",
2022-06-07 20:42:18 +02:00
"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"
]
}
}
}