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": {
|
2024-02-11 16:05:56 +05:00
|
|
|
"protection": { "type": "integer", "description": "How much protection does the armor item have.", "title": "Protection", "minimum": 0 },
|
2023-08-17 11:04:39 -07:00
|
|
|
"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",
|
2023-08-17 11:04:39 -07:00
|
|
|
"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"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|