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

37 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3494639353",
"x-format-version": "1.20.50",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"1398826300": {
"title": "struct SharedTypes::IntRange",
"type": "object",
"properties": {
"max": {
"type": "integer"
},
"min": {
"type": "integer"
}
}
}
},
"title": "minecraft:durability",
"description": "The durability item component specifies how much damage the item takes before breaking, and allows the item to be combined to repair or augment them.",
"type": "object",
"properties": {
"damage_chance": {
"description": "Specifies the percentage chance of this item losing durability. Default is set to 100. Defined as an int range with min and max value.",
"$ref": "#/definitions/1398826300"
},
"max_durability": {
"description": "Max durability is the amount of damage that this item can take before breaking. This is a required parameter and has a minimum of 0.",
"type": "integer",
"minimum": 0.0
}
},
"required": [
"max_durability"
]
}