1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-08-10 09:31:40 +00:00
Files
Mike Ammerlaan c32ab2ac8e v1.21.100.6
2025-08-05 10:30:44 -07:00

24 lines
871 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1095951327",
"x-format-version": "1.20.50",
"x-minecraft-version": "1.21.100-beta.6",
"title": "minecraft:enchantable",
"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"
]
}