{ "$id": "blockception.minecraft.behavior.lighting.global", "type": "object", "additionalProperties": false, "properties": { "format_version": { "$ref": "../../general/format_version.json" }, "minecraft:lighting_settings": { "title": "Lighting Settings", "description": "UNDOCUMENTED", "type": "object", "additionalProperties": false, "required": [ "description", "directional_lights" ], "properties": { "description": { "title": "Lighting Settings Description", "description": "Contains non-component settings for the lighting settings.", "type": "object", "additionalProperties": false, "required": [ "identifier" ], "properties": { "identifier": { "title": "Identifier", "description": "The identifier for these lighting settings.", "type": "string" } } }, "directional_lights": { "type": "object", "additionalProperties": false, "title": "Directional Lights", "description": "The directional lights that affect the world", "properties": { "orbital": { "title": "Orbital", "description": "Lighting settings for orbital light sources", "type": "object", "additionalProperties": false, "properties": { "sun": { "type": "object", "title": "Sun", "description": "The sun directional light", "additionalProperties": false, "properties": { "illuminance": { "anyOf": [ { "title": "Illuminance", "description": "How bright the sun is, measured in lux (lx)", "type": "object", "additionalProperties": false, "patternProperties": { "^\\d*\\.?\\d+$": { "type": "number" } } }, { "title": "Illuminance", "description": "How bright the sun is, measured in lux (lx)", "type": "number" } ] }, "color": { "anyOf": [ { "title": "Color", "description": "The RGB color that the sun contributes to direct surface lighting", "type": "object", "additionalProperties": false, "patternProperties": { "^\\d*\\.?\\d+$": { "$ref": "./format/color.json" } } }, { "title": "Color", "description": "The RGB color that the sun contributes to direct surface lighting", "$ref": "./format/color.json" } ] } } }, "moon": { "type": "object", "title": "Moon", "description": "The moon directional light", "additionalProperties": false, "properties": { "illuminance": { "anyOf": [ { "title": "Illuminance", "description": "How bright the moon is, measured in lux (lx)", "type": "object", "additionalProperties": false, "patternProperties": { "^\\d*\\.?\\d+$": { "type": "number" } } }, { "title": "Illuminance", "description": "How bright the moon is, measured in lux (lx)", "type": "number" } ] }, "color": { "anyOf": [ { "title": "Color", "description": "The RGB color that the moon contributes to direct surface lighting", "type": "object", "additionalProperties": false, "patternProperties": { "^\\d*\\.?\\d+$": { "$ref": "./format/color.json" } } }, { "title": "Color", "description": "The RGB color that the moon contributes to direct surface lighting", "$ref": "./format/color.json" } ] } } }, "orbital_offset_degrees": { "anyOf": [ { "title": "Orbital Offset Degrees", "description": "The rotational offset of the sun and moon from their standard orbital axis; measured in degrees", "type": "object", "additionalProperties": false, "patternProperties": { "^\\d*\\.?\\d+$": { "type": "number", "minimum": 0, "maximum": 360 } } }, { "type": "number", "title": "Orbital Offset Degrees", "description": "The rotational offset of the sun and moon from their standard orbital axis; measured in degrees", "minimum": 0, "maximum": 360 } ] } } }, "flash": { "title": "Flash", "description": "Lighting settings for the end flash", "type": "object", "additionalProperties": false, "properties": { "illuminance": { "title": "Illuminance", "description": "The peak brightness of the End flash, measured in lux (lx)", "type": "number" }, "color": { "title": "Color", "description": "The RGB color that the End Flash contributes to direct surface lighting", "$ref": "./format/color.json" } } } } }, "emissive": { "title": "Emissive", "description": "UNDOCUMENTED", "type": "object", "additionalProperties": false, "properties": { "desaturation": { "title": "Desaturation", "description": "The amount of desaturation to apply to albedo color values during emissive light calculation", "type": "number", "minimum": 0, "maximum": 1 } } }, "ambient": { "title": "Ambient", "description": "Lighting settings for the ambient light", "type": "object", "additionalProperties": false, "properties": { "illuminance": { "title": "Illuminance", "description": "How bright the ambient light is, measured in lux (lx)", "type": "number" }, "color": { "title": "Color", "description": "The RGB color that the ambient light contributes to direct surface lighting", "$ref": "./format/color.json" } } }, "sky": { "title": "Sky", "description": "Lighting settings for the sky", "type": "object", "additionalProperties": false, "properties": { "intensity": { "title": "Intensity", "description": "Scales how much energy the sky contributes to lighting", "type": "number", "minimum": 0.1, "maximum": 1 } } } } } } }