1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-07-23 07:31:55 +00:00
Files
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

35 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3553782894",
"x-format-version": "1.20.50",
"x-minecraft-version": "1.21.90-beta.3",
"title": "minecraft:wearable",
"description": "Wearable items can be worn by a player in a specified slot.",
"type": "object",
"properties": {
"hides_player_location": {
"description": "Determines whether the Player's location is hidden on Locator Maps and the Locator Bar when the wearable item is worn. Default is false.",
"type": "boolean"
},
"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.weapon.offhand",
"slot.armor.head",
"slot.armor.chest",
"slot.armor.legs",
"slot.armor.feet"
]
}
},
"required": [
"slot"
]
}