Files
Xterionix caef874bf8 1.21.90 (#350)
* - Added VV

* - Updated block culling

* - Added remove_in_peaceful

* - Added leashable_to

* - Updated leashable

* - Added body_rotation_always_follows_head

* - Added particle count to destruction_particles

* - Added uv_lock

* - Added liquid_settings to jigsaws

* - Added missing jigsaw fields

* - Added random_offset

* - Updated color grading description for one field

* - Added damaged_by_entity loot table condition

* - Added y offset to interact > spawn_items

* - Added is_riding_self filter

* - Added hides_player_location to wearable

* - Added henyey_greenstein_g to fog

* - Added block component movable

* - Removed internal markers for VV client biome components

* - Removed experimental marker for air controlled
2025-06-02 14:48:10 +02:00

233 lines
8.8 KiB
JSON

{
"$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
}
}
}
}
}
}
}