Skip to content

Commit

Permalink
consistent headings + new page nav
Browse files Browse the repository at this point in the history
  • Loading branch information
orifu committed Sep 24, 2024
1 parent 4abe359 commit 76efb36
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 14 deletions.
9 changes: 5 additions & 4 deletions src/content/docs/berries/configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@ title: Configuration File
description: how bodacious berries' configuration file works!
sidebar:
order: 4
next: check out ramel!
---

#### Introduction
## Introduction

The bodacious berries configuration file can be used to modify the rarities of each tier of berry bush. When modifying rarities, higher is more rare and lower is more common.
The configuration file is located in `[installation directory, most often .minecraft]/config/bodacious_berries.toml`.

#### Fields
## Fields

- `common_rarity`: the rarity of common berry bushes such as strawberries and saskatoons
- `medium_rarity`: the rarity of somewhat rare berry bushes such as raspberries and lingonberries
- `rare_rarity`: the rarity of rare berry bushes such as chorus berries and goji berries
- `ultra_rare_rarity`: the rarity of ultra rare berry bushes such as the rainberry bush

#### Notes
## Notes

- Currently, all changed values will only apply after the game is restarted.

#### Example Configuration
## Example Configuration

```toml
# bodacious berries configuration file - higher is more rare, lower is more common
Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/berries/custom-juicing-recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ sidebar:
order: 1
---

#### Introduction
## Introduction

The juicer supports custom recipes, created via datapacks. This is useful for situations such as adding support for making juice from another mod using the juicer from bodacious berries in a custom modpack. While bodacious berries supports a few mods out of the box, it can never be compatible with absolutely everything.

The juicer's recipe type is `bodacious_berries:juicing`.

#### Parameters in a juicing recipe
## Parameters in a juicing recipe

- `"ingredients"`: a list of ingredients in the recipe, as well as the receptacle
- `"0"`: the first ingredient in the recipe
Expand All @@ -25,7 +25,7 @@ The juicer's recipe type is `bodacious_berries:juicing`.
- `"all"`: an optional property. if this is specified, it will override ingredients 0, 1, and 2, becoming the only ingredient used in the recipe. this is useful if you are making juice from purely one type of fruit
- `"result"`: the id of the result

#### Examples
## Examples

An example recipe for grape juice:

Expand Down
1 change: 1 addition & 0 deletions src/content/docs/berries/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: bodacious berries' documentation!
sidebar:
label: about
order: 0
prev: false
---

import { CardGrid, LinkCard } from '@astrojs/starlight/components';
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: overview of our mods
next: false
---

import ModCards from '@components/ModCards.astro';
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/rainglow/creating-custom-modes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ sidebar:

import { FileTree } from '@astrojs/starlight/components';

### introduction
## introduction

This article explains how to make a custom mode through JSON.

It includes both a tutorial and full documentation on JSON properties and available colours.

### tutorial
## tutorial

The first step to creating a rainglow datapack is establishing the directory structure. Your normal data pack looks like this:

Expand Down
1 change: 1 addition & 0 deletions src/content/docs/rainglow/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: rainglow's documentation!
sidebar:
label: about
order: 0
prev: false
---

import { CardGrid, LinkCard } from '@astrojs/starlight/components';
Expand Down
7 changes: 4 additions & 3 deletions src/content/docs/rainglow/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ title: reference
description: a reference on all rainglow's colours, modes and entities!
sidebar:
order: 4
next: check out bodacious berries!
---

### available colours
## available colours

rainglow's available colours are:

Expand All @@ -27,7 +28,7 @@ rainglow's available colours are:
- `white`
- `yellow`

### default modes
## default modes

| mode id | colours |
| :-----------------: | ----------------------------------------------------------------------- |
Expand All @@ -45,7 +46,7 @@ rainglow's available colours are:
| `pan_pride` | `pink`, `yellow`, `blue` |
| `trans_pride` | `blue`, `white`, `pink` |

### available entities
## available entities

- `glow_squid`
- `allay`
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/rainglow/server-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ sidebar:
order: 3
---

### what is it?
## what is it?

Server sync is rainglow's solution to making sure that everyone on your server has a consistent experience. When enabled, everyone must use the same mode and the same configuration, ensuring that they all see the same things. The config screen is locked from editing, and it is not reloaded from the file until the player leaves the server locking it.

Server sync also sends any custom modes you may have created to the client!

### how does that work?
## how does that work?

When a player joins the server that has server sync enabled, it sends two packets: one with the server's configuration, and one with a list of custom modes on the server. First, the client parses the list of custom modes and configures and adds any that do not exist on its side. The client takes the config and sets all its internal values to that of the server's config.

Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/ramel/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: the mod that packs a kick!
sidebar:
label: about
order: 0
prev: false
next: check out skin overrides!
---

import ModInfo from '@components/ModInfo.astro';
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/shut-up-realms/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: the documentation for shut up realms!
sidebar:
label: about
order: 0
prev: false
---

import ModInfo from '@components/ModInfo.astro';
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/skin-overrides/compatibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: compatibility
description: skin overrides' compatibility with minecraft and other mods!
sidebar:
order: 4
next: check out styled renaming!
---

import { CardGrid, LinkCard } from '@astrojs/starlight/components';
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/skin-overrides/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: the documentation for skin overrides!
sidebar:
label: about
order: 0
prev: false
---

import { CardGrid, LinkCard } from '@astrojs/starlight/components';
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/styled-renaming/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: the documentation for styled renaming!
sidebar:
label: about
order: 0
prev: false
next: check out shut up realms!
---

import ModInfo from '@components/ModInfo.astro';
Expand Down

0 comments on commit 76efb36

Please sign in to comment.