Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/enchantable.json
8Crafter 57b510cee3 Fixes to enchantments, loot tables, and materials, and typo fixes. (#372)
-   Added the missing enchantment types to the enum for the `minecraft:enchantable` item component.
-   Fixed a typo where the `killed_by_player_or_pets` condition was called "Killed By Player Or Pets Or Pets" instead of "Killed By Player Or Pets".
-   Fixed the match tool loot table condition to use the correct schema for the `enchantments` property.
-   Fixed a typo where the title of the match tool loot table condition schema was "Killed By Player" instead of "Match Tool".
-   Added the missing `skinning_alphatest` value to the variant enum for materials (this variant type is used in the vanilla material files).
-   Fixed a typo where the title of the `skins.json` schema was "Skip Pack" instead of "Skin Pack".
2025-08-28 17:55:05 +00:00

43 lines
1.0 KiB
JSON

{
"$id": "blockception.minecraft.behavior.items.minecraft:enchantable",
"title": "Enchantable",
"description": "The enchantable component determines what enchantments can be applied to the item.",
"type": "object",
"additionalProperties": false,
"required": ["slot"],
"properties": {
"slot": {
"title": "Slot",
"description": "If true you can always eat this item (even when not hungry), defaults to false.",
"enum": [
"all",
"axe",
"bow",
"crossbow",
"spear",
"armor_feet",
"armor_torso",
"armor_head",
"armor_legs",
"hoe",
"pickaxe",
"shovel",
"elytra",
"fishing_rod",
"flintsteel",
"sword",
"shield",
"shears",
"cosmetic_head",
"carrotstick"
]
},
"value": {
"title": "Value",
"description": "The value of the enchantment.",
"type": "number",
"minimum": 0
}
}
}