Fix hyperlinks and update some descriptions. (#193)

* Fix hyperlinks in custom-skulls.md

* Fix hyperlinks in toc.yml.

* Update extensions.md

* Update api.md

* Fix word errors

* Update geyser api version

* Update api.md

* Add a limitations

* Update api.md

* Update api.md

* Update _docs/geyser/api.md

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
This commit is contained in:
qscbm187531andrtm516 authored and GitHub committed 2023-09-07 13:51:52 +02:00
1 parent 3563321e9a
commit e173c06eb9
6 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@
- title: Enabling custom skulls - title: Enabling custom skulls
url: "geyser/custom-skulls/#enabling-custom-skulls" url: "geyser/custom-skulls/#enabling-custom-skulls"
- title: custom-skulls.yml - title: custom-skulls.yml
url: "geyser/custom-skulls/#custom-skulls.yml" url: "geyser/custom-skulls/#custom-skullsyml"
- title: Geyser API - title: Geyser API
url: "geyser/api/" url: "geyser/api/"
children: children:
+4
View File
@@ -81,6 +81,10 @@ like currently, showing emotes.
The item package contains classes and interfaces related to items in Geyser. You can create custom items and register them using the Geyser API. The item package contains classes and interfaces related to items in Geyser. You can create custom items and register them using the Geyser API.
See [here](/geyser/custom-items) for detailed information on how to register custom items. See [here](/geyser/custom-items) for detailed information on how to register custom items.
#### [Block](https://github.com/GeyserMC/Geyser/tree/master/api/src/main/java/org/geysermc/geyser/api/block)
The block package contains classes and interfaces related to blocks in Geyser. You can create custom blocks using this package, and register them in using the [GeyserDefineCustomBlocksEvent](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/event/lifecycle/GeyserDefineCustomBlocksEvent.java).
See [here](/geyser/custom-blocks) for detailed information.
#### [Network](https://github.com/GeyserMC/Geyser/tree/master/api/src/main/java/org/geysermc/geyser/api/network) #### [Network](https://github.com/GeyserMC/Geyser/tree/master/api/src/main/java/org/geysermc/geyser/api/network)
The network package contains basic information about the remote server via the The network package contains basic information about the remote server via the
[RemoteServer](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/network/RemoteServer.java) [RemoteServer](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/network/RemoteServer.java)
+1
View File
@@ -25,6 +25,7 @@ The following things cannot be fixed without changes to Bedrock or the Java prot
- Invisible item frames - Invisible item frames
- Blocks (excluding jack-o-lantern) on entity heads (E.G. armor stands, players) - Blocks (excluding jack-o-lantern) on entity heads (E.G. armor stands, players)
- Saddled camels unmoveable/unrideable on bedrock. - Saddled camels unmoveable/unrideable on bedrock.
- Bedrock edition players cannot see the changes to fence block states made by the Java Debug Stick.
The following changes **are supported** with the [GeyserOptionalPack](/other/geyseroptionalpack/), which is a Bedrock resource pack you can install for additional functionality for features Bedrock does not natively support: The following changes **are supported** with the [GeyserOptionalPack](/other/geyseroptionalpack/), which is a Bedrock resource pack you can install for additional functionality for features Bedrock does not natively support:
- Custom armor stand poses - Custom armor stand poses
+1 -1
View File
@@ -6,7 +6,7 @@ title: Custom skulls with Geyser
Unlike Java Edition, Bedrock does not have native support for custom skull items. As a result, any method to display custom skulls with Geyser is, to some extent, a workaround. Geyser has long supported in-world custom skulls via the spawning of player entities. This, however, does not allow for the use of custom skulls in inventories, nor does it allow them to be worn by entities. To resolve this, Geyser now allows for the pre-registration of custom skulls via a config file. Geyser will then use this config file to generate a custom resource pack on start that contains the geometry and textures for the pre-registered custom skulls. To the client, these skulls are blocks. Therefore, they can be held in player inventories. In additional, attachables are defined for each skull block so that it is displayed correctly when worn and held by entities. Unlike Java Edition, Bedrock does not have native support for custom skull items. As a result, any method to display custom skulls with Geyser is, to some extent, a workaround. Geyser has long supported in-world custom skulls via the spawning of player entities. This, however, does not allow for the use of custom skulls in inventories, nor does it allow them to be worn by entities. To resolve this, Geyser now allows for the pre-registration of custom skulls via a config file. Geyser will then use this config file to generate a custom resource pack on start that contains the geometry and textures for the pre-registered custom skulls. To the client, these skulls are blocks. Therefore, they can be held in player inventories. In additional, attachables are defined for each skull block so that it is displayed correctly when worn and held by entities.
To setup custom skulls in geyser, you have to choose how you are going to register your blocks. The easiest is [using custom-skulls.yml](#custom-skulls.yml) but you can also [use a Geyser extension](#geyser-extensions). To setup custom skulls in geyser, you have to choose how you are going to register your blocks. The easiest is [using custom-skulls.yml](#custom-skullsyml) but you can also [use a Geyser extension](#geyser-extensions).
## Enabling custom skulls ## Enabling custom skulls
+1 -1
View File
@@ -7,7 +7,7 @@ Geyser Extensions are the equivalent of "plugins", but specifically for the Geys
### What can Geyser Extensions do? ### What can Geyser Extensions do?
Extensions can fully utilize the Geyser API to add additional functionality to Geyser. See [Geyser API docs](/geyser/api/) for info on what is currently possible. To name a few examples: Extensions can fully utilize the Geyser API to add additional functionality to Geyser. See [Geyser API docs](/geyser/api/) for info on what is currently possible. To name a few examples:
- Register custom items - Register custom items and blocks
- Hide commands from being suggested - Hide commands from being suggested
- Change the MOTD - Change the MOTD
- Register your own commands - Register your own commands
+2 -2
View File
@@ -31,7 +31,7 @@ Add Geyser's API codebase as a dependency:
<dependency> <dependency>
<groupId>org.geysermc.geyser</groupId> <groupId>org.geysermc.geyser</groupId>
<artifactId>api</artifactId> <artifactId>api</artifactId>
<version>2.1.2-SNAPSHOT</version> <version>2.2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
``` ```
@@ -39,7 +39,7 @@ Add Geyser's API codebase as a dependency:
**Gradle** **Gradle**
```groovy ```groovy
dependencies { dependencies {
compileOnly('org.geysermc.geyser:api:2.1.2-SNAPSHOT') compileOnly('org.geysermc.geyser:api:2.2.0-SNAPSHOT')
} }
``` ```