* chore: upgrading to v3 for json compression * adding local build step * adding test for compress * auto: generate
1 line
5.2 KiB
JSON
Generated
1 line
5.2 KiB
JSON
Generated
{"$id":"blockception.minecraft.behavior.lighting.global","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"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":"#/definitions/B"}}},{"title":"Color","description":"The RGB color that the sun contributes to direct surface lighting","$ref":"#/definitions/B"}]}}},"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":"#/definitions/B"}}},{"title":"Color","description":"The RGB color that the moon contributes to direct surface lighting","$ref":"#/definitions/B"}]}}},"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":"#/definitions/B"}}}}},"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":"#/definitions/B"}}},"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}}}}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"title":"Lighting Color","description":"The color of the light emitted by the block, in RGB format or hex format.","oneOf":[{"type":"string","format":"color-hex","examples":["#FFFFFF","#000000"]},{"type":"array","items":[{"title":"Red","type":"integer","minimum":0,"maximum":255},{"title":"Blue","type":"integer","minimum":0,"maximum":255},{"title":"Green","type":"integer","minimum":0,"maximum":255}]}]}}} |