- 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".
53 lines
1.9 KiB
JSON
53 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"title": "Skin Pack",
|
|
"description": "Skin pack definition.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["serialize_name", "localization_name", "skins"],
|
|
"properties": {
|
|
"serialize_name": {
|
|
"title": "Serialize Name",
|
|
"description": "The name of the pack as an identifier, they must be the same as the name of pack without spaces.",
|
|
"type": "string"
|
|
},
|
|
"localization_name": { "title": "Locatlization Name", "description": "The key in the language file to use to display text.", "type": "string" },
|
|
"skins": {
|
|
"type": "array",
|
|
"title": "Skins",
|
|
"description": "An array of item.",
|
|
"examples": [
|
|
{
|
|
"localization_name": "TemplateSkin1",
|
|
"geometry": "geometry.humanoid.custom",
|
|
"texture": "some_texture.png",
|
|
"type": "paid"
|
|
}
|
|
],
|
|
"items": {
|
|
"title": "Skin",
|
|
"description": "A single skin definition.",
|
|
"additionalProperties": false,
|
|
"required": ["localization_name", "geometry", "texture", "type"],
|
|
"type": "object",
|
|
"properties": {
|
|
"localization_name": {
|
|
"title": "Locatlization Name",
|
|
"description": "The key in the language file to use to display text.",
|
|
"type": "string"
|
|
},
|
|
"geometry": {
|
|
"title": "Geometry",
|
|
"description": "The type of geometry to use.",
|
|
"type": "string",
|
|
"pattern": "^[Gg]eometry\\..+$",
|
|
"examples": ["geometry.humanoid.custom", "geometry.humanoid.customSlim"]
|
|
},
|
|
"texture": { "title": "Texture", "description": "The filename of the skin.", "pattern": "^.*\\.png$" },
|
|
"type": { "title": "Type", "description": "The type of skin.", "enum": ["free", "paid"] }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|