Skip to content
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
"vite": "^6.0.11",
"vite-plugin-static-copy": "^2.2.0"
}
}
}
29 changes: 17 additions & 12 deletions public/mcdoc/sky_aesthetics.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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],
Expand All @@ -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,
Expand All @@ -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 {
Expand All @@ -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
}

Expand All @@ -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"
}
Expand Down