Files
Xterionix 5503ea5612 1.21.100 (#363)
* - Added replacements for enderman block place/take behaviors
* - Added transport items goal
* - Added grass_is_shaded property
* - Removed experimental tag for movable component
* - Remove experimental tag from random offset
* - Added can_wear_armor field
* - Added "none" heightmap projection
* - Improved descriptions for jigsaw rule
* - Added blockstate and random block state predicates
* - Improve rule descriptions
* - Added min and max values for terrain texture variations
* - Update template pool with empty pool
* - Improved surface builder component
* - Added humidity biome component
* - Added partially frozen biome component
* - Renamed to rotation_axis_aligned
* - Added map_tints biome component
2025-08-08 15:59:24 +02:00

86 lines
3.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.terrain_texture",
"additionalProperties": false,
"type": "object",
"title": "Terrain Texture File",
"description": "An collection of texture definitions.",
"$comment": "UNDOCUMENTED",
"definitions": {
"texture": {
"oneOf": [
{ "description": "A texture file.", "type": "string", "pattern": "^textures/.+$", "title": "Texture" },
{
"type": "object",
"additionalProperties": false,
"description": "A collection of texture files.",
"title": "Texture",
"properties": {
"overlay_color": {
"description": "The color to apply to the texture.",
"title": "Overlay Color",
"format": "color-hex",
"examples": ["#FFFFFF"]
},
"path": { "description": "A texture file.", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"tint_color": {
"title": "Tint Color",
"description": "The tint color to be applied to the texture.",
"$comment": "UNDOCUMENTED",
"format": "color-hex",
"examples": ["#FFFFFF"],
"type": "string"
},
"variations": {
"type": "array",
"title": "Variantions",
"description": "The possible variations to use for this texture.",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"title": "Variantion",
"description": "One of the variations, specified along with a possible weight.",
"$comment": "UNDOCUMENTED",
"required": ["path"],
"properties": {
"path": { "description": "A texture file.", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": {
"type": "number",
"minimum": 0.05,
"maximum": 1000000,
"title": "Weight",
"description": "The weight of the texture.",
"$comment": "UNDOCUMENTED"
}
}
}
}
}
}
]
}
},
"properties": {
"num_mip_levels": { "minimum": 0, "maximum": 4, "default": 4, "type": "integer", "title": "Num Mip Levels", "description": "Sets the number of mipmap levels for reducing texture quality at varying distances. More mipmap levels means reduced texture quality at farther distances.", "$comment": "UNDOCUMENTED" },
"padding": { "type": "integer", "title": "Padding", "description": "Adds buffer space to prevent textures from bleeding into each other.", "$comment": "UNDOCUMENTED" },
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "The name of your resource pack, which should match the name in this pack's manifest.", "markdownDescription": "The name of your resource pack, which should match the name in `manifest.json`.", "$comment": "UNDOCUMENTED" },
"texture_data": {
"type": "object",
"propertyNames": { "pattern": "^[a-z0-9_:.\\-]*$" },
"additionalProperties": {
"type": "object",
"title": "Texture Data",
"description": "Describes the texture, including properties like the path to the texture.",
"$comment": "UNDOCUMENTED",
"properties": {
"textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] }
}
},
"description": "A JSON object with shortnames and texture data.",
"$comment": "UNDOCUMENTED",
"title": "Texture Data"
},
"texture_name": { "const": "atlas.terrain" }
}
}