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/Enchantable v1.20.50.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

26 lines
927 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1095951327",
"title": "minecraft:enchantable v1.20.50",
"description": "The enchantable component specifies what enchantments can be applied to the item. Not all enchantments will have an effect on all item components.",
"type": "object",
"properties": {
"slot": {
"description": "Specifies which types of enchantments can be applied. For example, `bow` would allow this item to be enchanted as if it were a bow.",
"type": "string"
},
"value": {
"description": "Specifies the value of the enchantment (minimum of 0).",
"type": "integer",
"minimum": 0.0
}
},
"required": [
"slot",
"value"
],
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "Enchantable v1.20.50"
}
}