Terrain Texture File¶
文档版本:1.21.50.25
An collection of texture definitions.
架构¶
terrain_texture:
{
integer "num_mip_levels" : opt
integer "padding" : opt
string "resource_pack_name" : opt
object "texture_data" : opt
{
object "^[a-z0-9_:\-]*$" : opt
{
string "textures" : opt
object "textures" : opt
{
"overlay_color" : opt
string "path" : opt
string "tint_color" : opt
array "variations" : opt
{
object "<any array element>" : opt
{
string "path" : opt
integer "weight" : opt
}
}
}
array "textures" : opt
{
"<any array element>" : opt
}
}
}
string "texture_name" : opt
}
num_mip_levels
:integer- Sets the number of mipmap levels for better texture quality at varying distances.
padding
:integer- Adds buffer space to prevent textures from bleeding into each other.
resource_pack_name
:string- UNDOCUMENTED.
texture_data
:object- UNDOCUMENTED.
texture_data
^[a-z0-9_:\-]*$
:object- UNDOCUMENTED.
^[a-z0-9_:\-]*$
textures
:string- A texture file.
textures
:object- A collection of texture files.
textures
overlay_color
- The color to apply to the texture.
path
:string- A texture file.
tint_color
:string- The tint color to be applied to the texture.
variations
:array- The possible variations to use for this texture.
variations
<any array element>
:object- One of the variantions, specified along with a possible weight.
<any array element>
path
:string- A texture file.
weight
:integer- The weight of the texture.
textures
:array
textures
<any array element>
texture_name
:string- UNDOCUMENTED.