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".
This commit is contained in:
@@ -1,37 +1,42 @@
|
||||
{
|
||||
"$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": [
|
||||
"axe",
|
||||
"bow",
|
||||
"armor_feet",
|
||||
"armor_torso",
|
||||
"armor_head",
|
||||
"armor_legs",
|
||||
"hoe",
|
||||
"pickaxe",
|
||||
"shovel",
|
||||
"elytra",
|
||||
"fishing_rod",
|
||||
"flintsteel",
|
||||
"sword",
|
||||
"shears",
|
||||
"cosmetic_head"
|
||||
]
|
||||
},
|
||||
"value": {
|
||||
"title": "Value",
|
||||
"description": "The value of the enchantment.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"$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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user