2021-06-06 10:07:19 +00:00
{
2021-11-20 11:26:35 +01:00
"$schema" : "http://json-schema.org/draft-07/schema" ,
2021-06-06 10:07:19 +00:00
"$id" : "blockception.minecraft.resource.texture.terrain_texture" ,
"additionalProperties" : false ,
"type" : "object" ,
"title" : "Terrain Texture File" ,
2022-07-22 19:41:04 +02:00
"description" : "An collection of texture definitions." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-06 10:07:19 +00:00
"definitions" : {
"texture" : {
"oneOf" : [
2022-07-22 19:41:04 +02:00
{ "description" : "A texture file." , "type" : "string" , "pattern" : "^textures/.+$" , "title" : "Texture" } ,
2021-06-06 10:07:19 +00:00
{
"type" : "object" ,
"additionalProperties" : false ,
2022-07-22 19:41:04 +02:00
"description" : "A collection of texture files." ,
2021-06-06 10:07:19 +00:00
"title" : "Texture" ,
"properties" : {
2021-08-22 00:15:58 +02:00
"overlay_color" : {
2022-07-22 19:41:04 +02:00
"description" : "The color to apply to the texture." ,
2021-08-22 00:15:58 +02:00
"title" : "Overlay Color" ,
"format" : "color-hex" ,
"examples" : [ "#FFFFFF" ]
} ,
2022-07-22 19:41:04 +02:00
"path" : { "description" : "A texture file." , "type" : "string" , "pattern" : "^textures/.+$" , "title" : "Path" } ,
2021-07-01 11:35:53 +02:00
"tint_color" : {
"title" : "Tint Color" ,
2022-07-22 19:41:04 +02:00
"description" : "The tint color to be applied to the texture." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
"format" : "color-hex" ,
2021-08-22 00:15:58 +02:00
"examples" : [ "#FFFFFF" ] ,
2021-07-01 11:35:53 +02:00
"type" : "string"
} ,
2021-06-06 10:07:19 +00:00
"variations" : {
"type" : "array" ,
"title" : "Variantions" ,
2022-07-22 19:41:04 +02:00
"description" : "The possible variations to use for this texture." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-06 10:07:19 +00:00
"items" : {
"type" : "object" ,
"title" : "Variantion" ,
2025-06-25 20:35:53 +02:00
"description" : "One of the variations, specified along with a possible weight." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-06 10:07:19 +00:00
"required" : [ "path" ] ,
"properties" : {
2022-07-22 19:41:04 +02:00
"path" : { "description" : "A texture file." , "type" : "string" , "pattern" : "^textures/.+$" , "title" : "Path" } ,
2025-08-08 18:59:24 +05:00
"weight" : {
"type" : "number" ,
"minimum" : 0.05 ,
"maximum" : 1000000 ,
"title" : "Weight" ,
"description" : "The weight of the texture." ,
"$comment" : "UNDOCUMENTED"
}
2021-06-06 10:07:19 +00:00
}
}
}
}
}
]
}
} ,
"properties" : {
2025-06-25 20:35:53 +02:00
"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" } ,
2024-08-15 01:43:47 -04:00
"padding" : { "type" : "integer" , "title" : "Padding" , "description" : "Adds buffer space to prevent textures from bleeding into each other." , "$comment" : "UNDOCUMENTED" } ,
2025-06-25 20:35:53 +02:00
"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" } ,
2021-06-06 10:07:19 +00:00
"texture_data" : {
"type" : "object" ,
2025-05-03 14:15:47 +05:00
"propertyNames" : { "pattern" : "^[a-z0-9_:.\\-]*$" } ,
2021-06-06 10:07:19 +00:00
"additionalProperties" : {
"type" : "object" ,
"title" : "Texture Data" ,
2025-06-25 20:35:53 +02:00
"description" : "Describes the texture, including properties like the path to the texture." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-06 10:07:19 +00:00
"properties" : {
"textures" : { "oneOf" : [ { "$ref" : "#/definitions/texture" } , { "type" : "array" , "items" : { "$ref" : "#/definitions/texture" } } ] }
}
} ,
2025-06-25 20:35:53 +02:00
"description" : "A JSON object with shortnames and texture data." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-09 10:24:10 +02:00
"title" : "Texture Data"
2021-06-06 10:07:19 +00:00
} ,
2025-05-03 14:15:47 +05:00
"texture_name" : { "const" : "atlas.terrain" }
2021-06-06 10:07:19 +00:00
}
}