mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-21 21:56:13 +00:00
39 lines
1.4 KiB
JSON
39 lines
1.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "3494639353",
|
|
"definitions": {
|
|
"1398826300": {
|
|
"title": "struct SharedTypes::IntRange",
|
|
"type": "object",
|
|
"properties": {
|
|
"max": {
|
|
"type": "integer"
|
|
},
|
|
"min": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"title": "minecraft:durability v1.20.50",
|
|
"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"
|
|
],
|
|
"$metaProperties": {
|
|
"CEREAL_DOCUMENTATION_TAG": false,
|
|
"CEREAL_JSON_SCHEMA": "Durability v1.20.50"
|
|
}
|
|
} |