mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-09-30 00:43:14 +00:00
30 lines
861 B
JSON
30 lines
861 B
JSON
{
|
|
"$id": "2041267453",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Wearable items can be worn by a player in the head, chest, legs, feet, or off-hand slots.",
|
|
"properties": {
|
|
"protection": {
|
|
"description": "How much protection the wearable item provides. Default is set to 0.",
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"slot": {
|
|
"description": "Specifies where the item can be worn. If any non-hand slot is chosen, the max stack size is set to 1.",
|
|
"enum": [
|
|
"slot.weapon.offhand",
|
|
"slot.armor.head",
|
|
"slot.armor.chest",
|
|
"slot.armor.legs",
|
|
"slot.armor.feet"
|
|
],
|
|
"title": "EquipmentSlot",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"slot"
|
|
],
|
|
"title": "minecraft:wearable",
|
|
"type": "object",
|
|
"x-format-version": "1.20.50"
|
|
} |