Refactored item
This commit is contained in:
31
source/behavior/items/format/components/wearable.json
Normal file
31
source/behavior/items/format/components/wearable.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:wearable",
|
||||
"title": "Wearable",
|
||||
"description": "Wearable item component.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"dispensable": { "title": "Dispensable", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" },
|
||||
"slot": {
|
||||
"title": "Slot",
|
||||
"description": "equipment_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",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user