From 822d1dd1003feeb4c12e6291fb635f522d707e38 Mon Sep 17 00:00:00 2001 From: Orbi-bot Date: Sat, 11 May 2024 10:11:36 +0000 Subject: [PATCH] auto: generated json schemas 2024-05-11 --- behavior/lighting/atmospherics.json | 1 + behavior/lighting/global.json | 1 + 2 files changed, 2 insertions(+) create mode 100644 behavior/lighting/atmospherics.json create mode 100644 behavior/lighting/global.json diff --git a/behavior/lighting/atmospherics.json b/behavior/lighting/atmospherics.json new file mode 100644 index 00000000..b53b834f --- /dev/null +++ b/behavior/lighting/atmospherics.json @@ -0,0 +1 @@ +{"$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}]}]}}} \ No newline at end of file diff --git a/behavior/lighting/global.json b/behavior/lighting/global.json new file mode 100644 index 00000000..99de8e36 --- /dev/null +++ b/behavior/lighting/global.json @@ -0,0 +1 @@ +{"$id":"blockception.minecraft.behavior.lighting.global","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"directional_lights":{"type":"object","additionalProperties":false,"title":"Directional Lights","description":"The directional lights that affect the world","properties":{"sun":{"type":"object","title":"Sun","description":"The sun directional light","additionalProperties":false,"properties":{"illuminance":{"type":"number","title":"Illuminance","description":"How bright the sun is, measured in lux (lx)"},"color":{"title":"Color","description":"The RGB color that the sun contributes to direct surface lighting; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"moon":{"type":"object","title":"Moon","description":"The moon directional light","additionalProperties":false,"properties":{"illuminance":{"type":"number","title":"Illuminance","description":"How bright the moon is, measured in lux (lx)"},"color":{"title":"Color","description":"The RGB color that the moon contributes to direct surface lighting; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"orbital_offset_degrees":{"type":"number","title":"Orbital Offset Degrees","description":"The rotational offset of the sun and moon from their standard orbital axis; measured in degrees"},"point_lights":{"type":"object","title":"Point Lights","description":"The point lights that affect the world","additionalProperties":false,"properties":{"colors":{"type":"object","title":"Colors","description":"List of key-value pairs where the key is a namespace-qualified block name and the value is a color","additionalProperties":{"$ref":"#/definitions/B"},"examples":[{"minecraft:stone":"#ffffff","minecraft:grass":[0,255,0]}]}}},"pbr":{"title":"PBR","description":"The physically-based rendering properties for the world","type":"object","additionalProperties":false,"properties":{"blocks":{"title":"Blocks","description":"The PBR properties for blocks","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for blocks when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"actors":{"title":"Actors","description":"The PBR properties for actors","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for actors/mobs when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"particles":{"title":"Particles","description":"The PBR properties for particles","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for particles when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}}}}}}},"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.20.81","examples":["1.20.81","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}]}]}}} \ No newline at end of file