Skip to content

Commit

Permalink
Update fuel wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
TathanDev committed Sep 22, 2024
1 parent b3b2fb6 commit 1c8a7d8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 140 deletions.
138 changes: 1 addition & 137 deletions custom-sky.md
Original file line number Diff line number Diff line change
@@ -1,139 +1,3 @@
# Custom Planets Sky

Now that you have your beautiful planets registered, your planet need to have a beautiful sky !

## Creation of the Resourcepack

First, you'll need to create the base of the resourcepack. The structure of the resourcepack should look like this :

```
├─ assets
│ └─ [namespace]
│ └─ renderer
│ └─ sky
└─ pack.mcmeta
```

::: tip
`[namespace]` should be the same as your datapack
:::

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

```json
{
"id": "minecraft:overworld",
"cloud": true,
"cloud_height": 192,
"fog": true,
"custom_vanilla_objects": {
"sun": true,
"sun_texture": "textures/environment/sun.png",
"sun_height": 450,
"sun_size": 200,
"moon": true,
"moon_phase": true,
"moon_texture": "textures/environment/moon_phases.png",
"moon_height": 75,
"moon_size": 75
},
"weather": [
{
"rain": true,
"acid_rain": false
}
],
"sunrise_color": 16755035,
"stars": {
"count": 30000,
"colored": true,
"all_days_visible": false
},
"sky_type": "NORMAL",
"sky_objects": []
}
```

`id`: The id of the dimension

`cloud`: if the dimension should have cloud

`cloud_height`: The height of the clouds

`fog`: if the dimension should have fog

**custom_vanilla_objects**

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

`sun_texture`: The texture 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

`moon_phase`: If there are moon phases

`moon_texture`: The texture of the moon

`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**

`count`: The amount of stars

`colored`: If the stars should be colored

`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

**Sky Objects**
Sky Objects allows you to add object to the sky.

```json
{
"texture": "stellaris:textures/environment/solar_system/earth.png",
"blend": true,
"size": 8.0,
"rotation": [
60.0,
0.0,
5.0
],
"height": 100,
"rotation_type": "DAY"
}
```

`texture`: The texture of the object

`blend`: If the object should blend

`size`: The size of the object

`rotation`: A Vector3 that is the rotation of the object

`height`: The height of the object in the sky

`rotation_type`: if the object should move with like the sun. Possibilities : DAY, NIGHT 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)
**Custom skies are now handled by [`Sky Aesthetic`](https://modrinth.com/mod/sky-aesthetics). You can find the wiki here : [https://github.com/TathanDev/SkyAesthetics/wiki](https://github.com/TathanDev/SkyAesthetics/wiki)**
Binary file added public/recipes/oil_finder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipes/pumpjack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipes/pumpjack_drill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 19 additions & 3 deletions wiki/fuel.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,29 @@
In Project Stellaris, one of the main resource is the Fuel. It allow you to use Rocket and JetSuit.

## Get Oil
There are two ways to find oil

First, you will need to find a oil lake. It spawn underground or rarely on the surface. This lake contains oil that you can retrieve with a bucket.

![Underground Oil](/underground-oil.png)
## Oil Finder
To get Oil, you will need to craft the oil finder.

![Oil finder](/recipes/oil_finder.png)

## Craft the Fuel Rafinery
With this item, you can right click on a block and it will tell you if there is oil in the chunk.

When you finally found oil in a chunk, you can craft the `pumpjack drill` and then you will be able to craft the `pumpjack`

![pumpjack drill](/recipes/pumpjack_drill.png)

![pumpjack](/recipes/pumpjack.png)

::: warning
When placing the `pumpjack`, you wont be able to get the pumpjack drill ! Make sure to place in a good place
:::

When powered, the pumpjack will drain the oil in the chunk. Then, you will be able to getback the oil in buckets !

## Craft the Fuel Refinery

Now, you need to transform the oil to fuel. This is possible because of the Fuel Rafinery Block.

Expand Down

0 comments on commit 1c8a7d8

Please sign in to comment.