Files
minecraft-bedrock-json-schemas/behavior/lighting/atmospherics.json

1 line
2.0 KiB
JSON
Raw Normal View History

{"$id":"blockception.minecraft.behavior.lighting.atmospherics","type":"object","title":"Atmospherics","description":"The properties of the atmosphere","additionalProperties":false,"properties":{"horizon_blend_stops":{"type":"object","title":"Horizon Blend Stops","description":"How the atmosphere is divided up","additionalProperties":false,"properties":{"min":{"title":"Minimum Horizon Height","description":"The minimum horizon height","type":"number"},"start":{"title":"Start","description":"The height relative to the horizon where the zenith contribution will take over","type":"number"},"mie_start":{"title":"Mie Start","description":"The height relative to the horizon where mie scattering begins","type":"number"},"max":{"title":"Maximum Horizon Height","description":"The maximum horizon height","type":"number"}}},"rayleigh_strength":{"title":"Rayleigh Strength","description":"How strong the atmosphere's rayleigh scattering term is","type":"number"},"sun_mie_strength":{"title":"Sun Mie Strength","description":"How strong the sun's mie scattering term is","type":"number"},"moon_mie_strength":{"title":"Moon Mie Strength","description":"How strong the moon's mie scattering term is","type":"number"},"sun_glare_shape":{"title":"Sun Glare Shape","description":"How the lobe of the mie scattering is shaped","type":"number"},"sky_zenith_color":{"title":"Sky Zenith Color","description":"The RGB color of the zenith region of the atmosphere","$ref":"#/definitions/A"},"sky_horizon_color":{"title":"Sky Horizon Color","description":"The RGB color of the horizon region of the atmosphere","$ref":"#/definitions/A"}},"definitions":{"A":{"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}]}]}}}