85 lines
3.0 KiB
JSON
85 lines
3.0 KiB
JSON
|
|
{
|
||
|
|
"$id": "blockception.minecraft.behavior.pbr.global",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"definitions": {
|
||
|
|
"rgbaOrHex": {
|
||
|
|
"oneOf": [
|
||
|
|
{
|
||
|
|
"type": "array",
|
||
|
|
"items": [
|
||
|
|
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Red" },
|
||
|
|
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Green" },
|
||
|
|
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Blue" },
|
||
|
|
{ "type": "number", "minimum": 0, "maximum": 255, "title": "Alpha" }
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{ "type": "string", "format": "color-hex", "pattern": "^\\#[0-9a-fA-F]{6}$" }
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"properties": {
|
||
|
|
"format_version": { "$ref": "../../general/format_version.json" },
|
||
|
|
"minecraft:pbr_fallback_settings": {
|
||
|
|
"title": "PBR Fallback Settings",
|
||
|
|
"description": "UNDOCUMENTED",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [ "colors" ],
|
||
|
|
"properties": {
|
||
|
|
"blocks": {
|
||
|
|
"title": "Blocks",
|
||
|
|
"description": "UNDOCUMENTED",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"properties": {
|
||
|
|
"global_metalness_emissive_roughness_subsurface": {
|
||
|
|
"title": "Global Metalness Emissive Roughness Subsurface",
|
||
|
|
"description": "The default MERS value to use for blocks when not defined via textureset",
|
||
|
|
"$ref": "#/definitions/rgbaOrHex"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"actors": {
|
||
|
|
"title": "Actors",
|
||
|
|
"description": "UNDOCUMENTED",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"properties": {
|
||
|
|
"global_metalness_emissive_roughness_subsurface": {
|
||
|
|
"title": "Global Metalness Emissive Roughness Subsurface",
|
||
|
|
"description": "The default MERS value to use for actors/mobs when not defined via textureset",
|
||
|
|
"$ref": "#/definitions/rgbaOrHex"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"particles": {
|
||
|
|
"title": "Particles",
|
||
|
|
"description": "UNDOCUMENTED",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"properties": {
|
||
|
|
"global_metalness_emissive_roughness_subsurface": {
|
||
|
|
"title": "Global Metalness Emissive Roughness Subsurface",
|
||
|
|
"description": "The default MERS value to use for particles when not defined via textureset",
|
||
|
|
"$ref": "#/definitions/rgbaOrHex"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"items": {
|
||
|
|
"title": "Items",
|
||
|
|
"description": "UNDOCUMENTED",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"properties": {
|
||
|
|
"global_metalness_emissive_roughness_subsurface": {
|
||
|
|
"title": "Global Metalness Emissive Roughness Subsurface",
|
||
|
|
"description": "The default MERS value to use for items when not defined via textureset",
|
||
|
|
"$ref": "#/definitions/rgbaOrHex"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|