1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-21 21:56:13 +00:00
bedrock-samples/metadata/json_schemas/Wearable v1.20.50.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

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"
}
}