Skip to content

Commit

Permalink
Update custom-screen.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Miyaiho authored Jun 3, 2024
1 parent 7f76aab commit 96081ae
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions custom-screen.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ This folder will contains all of the stars.
"width": 36.0,
"height": 36.0,
"orbitColor": "Yellow",
"translatable": "text.stellaris.planetscreen.sun"
"translatable": "text.stellaris.planetscreen.sun",
"id": "stellaris:sun"
}
```
`texture`: The texture location of the star
Expand All @@ -54,6 +55,8 @@ This folder will contains all of the stars.

`translatable`: The translatable name of your star

`id`: A special id of your star

**The planet folder**
This folder will contains all of the planets. Theses planets will orbit around a star

Expand All @@ -67,7 +70,8 @@ This folder will contains all of the planets. Theses planets will orbit around a
"height": 10.0,
"parent": "Sun",
"dimensionId": "minecraft:overworld",
"translatable": "text.stellaris.planetscreen.earth"
"translatable": "text.stellaris.planetscreen.earth",
"id": "stellaris:earth"
}
```
`texture`: The texture location of the planet
Expand All @@ -88,6 +92,8 @@ This folder will contains all of the planets. Theses planets will orbit around a

`translatable`: The translatable name of your planet

`id`: A special id of your planet

**The moon folder**
This folder contains all of the moons that are orbiting around planets

Expand All @@ -101,7 +107,8 @@ This folder contains all of the moons that are orbiting around planets
"height": 6.0,
"parent": "Earth",
"dimensionId": "stellaris:moon",
"translatable": "text.stellaris.planetscreen.moon"
"translatable": "text.stellaris.planetscreen.moon",
"id": "stellaris:moon"
}
```
`texture`: The texture location of the moon
Expand All @@ -122,10 +129,12 @@ This folder contains all of the moons that are orbiting around planets

`translatable`: The translatable name of your moon

`id`: A special id of your moon

::: info
For the `translatable` fields, it"s a field in `assets/[namespace]/lang/en_us.json` in your resourcepack.
:::

## Examples

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

0 comments on commit 96081ae

Please sign in to comment.