Skip to content

Commit

Permalink
Update sky wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
TathanDev committed Aug 28, 2024
1 parent 7ed637f commit 117b5bd
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions custom-sky.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ First, you'll need to create the base of the resourcepack. The structure of the
`[namespace]` should be the same as your datapack
:::


**The sky folder**
This folder will contains all of the custom skies for our planets.

Expand All @@ -32,11 +31,13 @@ This folder will contains all of the custom skies for our planets.
"custom_vanilla_objects": {
"sun": true,
"sun_texture": "textures/environment/sun.png",
"sun_height": 300,
"sun_height": 450,
"sun_size": 200,
"moon": true,
"moon_phase": true,
"moon_texture": "textures/environment/moon_phases.png",
"moon_height": 75
"moon_height": 75,
"moon_size": 75
},
"weather": [
{
Expand All @@ -54,6 +55,7 @@ This folder will contains all of the custom skies for our planets.
"sky_objects": []
}
```

`id`: The id of the dimension

`cloud`: if the dimension should have cloud
Expand All @@ -68,7 +70,9 @@ This folder will contains all of the custom skies for our planets.

`sun_texture`: The texture of the sun

`sun_height`: The size of the sun
`sun_height`: The height on the sky of the sun

`sun_size`: The size of the sun

`moon`: If there is a moon in the dimension

Expand All @@ -78,13 +82,14 @@ This folder will contains all of the custom skies for our planets.

`moon_height`: The height of the moon

`moon_size`: The size of the moon

**Weather**

`rain`: If the rain is render

`acid_rain`: If the rain texture should be the acid one


`sunrise_color`: The color of the sunrise (decimal color)

**Stars**
Expand All @@ -95,7 +100,6 @@ This folder will contains all of the custom skies for our planets.

`all_days_visible`: If the stars should be rendered even when it's the day


`sky_type`: A don't know but this should stay "NONE"

`sky_objects`: A list of Sky Objects
Expand Down Expand Up @@ -127,7 +131,6 @@ Sky Objects allows you to add object to the sky.

`rotation_type`: if the object should move with like the sun. Possibilities : DAY and STATIC


## Examples

You can find exemples in the github of the [Stellaris Project](https://github.com/st0x0ef/stellaris/tree/1.21/common/src/main/resources/assets/stellaris/renderer/sky)
You can find exemples in the github of the [Stellaris Project](https://github.com/st0x0ef/stellaris/tree/1.21/common/src/main/resources/assets/stellaris/renderer/sky)

0 comments on commit 117b5bd

Please sign in to comment.