mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-21 21:56:13 +00:00
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "2041267453",
|
|
"title": "minecraft:wearable v1.20.50",
|
|
"description": "Wearable items can be worn by a player in the head, chest, legs, feet, or off-hand slots.",
|
|
"type": "object",
|
|
"properties": {
|
|
"protection": {
|
|
"description": "How much protection the wearable item provides. Default is set to 0.",
|
|
"type": "integer",
|
|
"minimum": 0.0
|
|
},
|
|
"slot": {
|
|
"title": "enum SharedTypes::Legacy::EquipmentSlot",
|
|
"description": "Specifies where the item can be worn. If any non-hand slot is chosen, the max stack size is set to 1.",
|
|
"type": "string",
|
|
"enum": [
|
|
"slot.armor.chest",
|
|
"slot.armor.feet",
|
|
"slot.armor.head",
|
|
"slot.armor.legs",
|
|
"slot.weapon.offhand"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"slot"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Wearable v1.20.50"
|
|
}
|
|
} |