Explicitly define md/x header links for i18n

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle committed 2024-03-03 20:04:11 -08:00
1 parent 3f4b5f68b0
commit 05c4ec92fc
37 files changed
+202 -202

No files matched your search

+5 -5
View File
@@ -8,7 +8,7 @@ To setup custom blocks in geyser, you have to choose how you are going to regist
It should be noted that blocks and their associated components are not very stable. Mojang tends to make changes to these much more often than they do for items. This means that any components Geyser allows you to register are liable to break in future versions of Bedrock.
## Enabling custom blocks
## Enabling custom blocks {#enabling-custom-blocks}
Before beginning, ensure that `add-non-bedrock-items` is set to `true` in your `config.yml` file.
@@ -21,13 +21,13 @@ Before beginning, ensure that `add-non-bedrock-items` is set to `true` in your `
add-non-bedrock-items: true
```
## JSON mappings
## JSON mappings {#json-mappings}
The JSON mappings use a similar structure to that of behavior packs registering blocks. The equivalent components are listed in the [Minecraft: Bedrock Edition Creator Documentation](https://learn.microsoft.com/en-us/minecraft/creator/reference/content/blockreference/examples/blockcomponents/blockcomponentslist).
Custom mappings files that register blocks or items should be placed in the `custom_mappings` folder. This folder is created when you start your server. It is located in the same folder as the `Geyser-Standalone.jar` file for standalone and inside your Geyser data folder for a plugin. If you do not have this folder, ensure you are on the latest version of Geyser.
### Example mappings file
### Example mappings file {#example-mappings-file}
```json
{
@@ -80,7 +80,7 @@ Custom mappings files that register blocks or items should be placed in the `cus
}
```
### Schema
### Schema {#schema}
The following details the schema for the mappings file. Only the `name` field is strictly required. All other fields are optional.
@@ -317,7 +317,7 @@ The following details the schema for the mappings file. Only the `name` field is
</div>
## Geyser extensions
## Geyser extensions {#geyser-extensions}
In this example, we will create a custom block that overrides the vanilla redstone dot. This block will be placed on top of a block and will emit a visible redstone signal when powered.