diff --git a/package-lock.json b/package-lock.json index 21ae171b4..d552098a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8480,4 +8480,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 86aec74d8..aa814c47d 100644 --- a/package.json +++ b/package.json @@ -65,4 +65,4 @@ "vite": "^6.0.11", "vite-plugin-static-copy": "^2.2.0" } -} +} \ No newline at end of file diff --git a/public/mcdoc/sky_aesthetics.mcdoc b/public/mcdoc/sky_aesthetics.mcdoc index 9ff907ea2..85d15498b 100644 --- a/public/mcdoc/sky_aesthetics.mcdoc +++ b/public/mcdoc/sky_aesthetics.mcdoc @@ -2,10 +2,10 @@ dispatch minecraft:resource[sky_aesthetics:sky] to struct SkyProperties { world: #[id="dimension"] string, id?: string, - cloud_settings: CloudSettings, + cloud_settings?: CloudSettings, fog_settings?: FogSettings, rain: boolean, - custom_vanilla_objects: CustomVanillaObjects, + custom_vanilla_objects?: CustomVanillaObjects, stars: Star, /// The R, G and B value for the color sunrise_color?: [float] @ 3, @@ -16,10 +16,10 @@ dispatch minecraft:resource[sky_aesthetics:sky] to struct SkyProperties { /// The R, G, B and alpha value for the color #[until="1.21.2"] - color: [float] @ 4, + color?: [float] @ 4, /// The R, G and B value for the color #[since="1.21.3"] - color: [float] @ 3 , + color?: [float] @ 3 , }, sky_objects: [SkyObject], @@ -30,7 +30,7 @@ dispatch minecraft:resource[sky_aesthetics:sky] to struct SkyProperties { struct CloudSettings { cloud: boolean, - cloud_height: int, + cloud_height?: int, /// The R, G and B value for the color cloud_color?: struct CustomCloudColor { base_color: [double] @ 3, @@ -49,14 +49,14 @@ struct FogSettings { struct CustomVanillaObjects { sun: boolean, - sun_texture: string, - sun_height: int, - sun_size: int, + sun_texture?: string, + sun_height?: int, + sun_size?: int, moon: boolean, moon_phase: boolean, - moon_texture: string, - moon_height: int, - moon_size: int, + moon_texture?: string, + moon_height?: int, + moon_size?: int, } struct Star { @@ -82,7 +82,8 @@ struct SkyObject { blend: boolean, size: float, height: int, - rotation: [float] @ 3, + rotation: [int] @ 3, + object_rotation: [float] @ 3, rotation_type: RotationType } @@ -94,7 +95,11 @@ struct RenderCondition { } enum(string) SkyType { + #[since="1.21.3"] #[starred] Overworld = "OVERWORLD", + + #[until="1.21.2"] + #[starred] Normal = "NORMAL", None = "NONE", End = "END" }