From 0b0c79b742e7fba616fb731d9517c4b094f73032 Mon Sep 17 00:00:00 2001 From: Aurorawr <100384210+Novampr@users.noreply.github.com> Date: Thu, 14 Aug 2025 17:36:10 +0000 Subject: [PATCH] Add and update wiki pages, add Thunder download. (#90) * Add a Thunder and Rainbow wiki page, touch up some other pages * Fix mobile sidebar * Address review 1/2 * Address review 1.5/2 (oops) * Address review 2/2 Co-authored-by: chris --------- Co-authored-by: chris --- docusaurus.config.ts | 4 ++-- sidebars.ts | 2 ++ src/css/custom.scss | 18 +++++++++++++++- src/pages/download.tsx | 17 +++++++++++++++ wiki/other/geyseroptionalpack.md | 1 + wiki/other/hurricane.md | 4 ++-- wiki/other/rainbow.md | 37 ++++++++++++++++++++++++++++++++ wiki/other/thunder.md | 34 +++++++++++++++++++++++++++++ 8 files changed, 112 insertions(+), 5 deletions(-) create mode 100644 wiki/other/rainbow.md create mode 100644 wiki/other/thunder.md diff --git a/docusaurus.config.ts b/docusaurus.config.ts index b7591fd..33bcba2 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -152,12 +152,12 @@ const config: Config = { position: 'left', className: 'header-download-link' }, - { + { // Name on mobile sidebar specified in custom.scss href: 'https://github.com/GeyserMC/Geyser', position: 'right', className: 'header-github-link' }, - { + { // Name on mobile sidebar specified in custom.scss href: 'https://discord.gg/geysermc', position: 'right', className: 'header-discord-link' diff --git a/sidebars.ts b/sidebars.ts index 7abef62..afc406b 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -139,7 +139,9 @@ const sidebars: SidebarsConfig = { 'other/geyseroptionalpack', 'other/community-geyser-projects', 'other/hurricane', + 'other/rainbow', 'other/hydraulic', + 'other/thunder', 'other/test-server', 'other/developer-guide', 'other/discord-bot-usage' diff --git a/src/css/custom.scss b/src/css/custom.scss index 9abdcf9..d500beb 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -75,6 +75,7 @@ html[data-theme='dark'] { display: inline-block; background-color: var(--ifm-navbar-link-color); mask-image: $url; + mask-repeat: no-repeat; transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); } @@ -88,7 +89,11 @@ html[data-theme='dark'] { } .header-discord-link { - @include header-link(32px, 26px, url('data:image/svg+xml,')); + @include header-link(24px, 24px, url('data:image/svg+xml,')); + + &::before { // Fixes the Discord icon being a little shorter than the others causing an offset + mask-position: 0 2px; + } } .header-utilities-link { @@ -107,6 +112,16 @@ html[data-theme='dark'] { @include header-link(22px, 25px, url('data:image/svg+xml,')); } +@media screen and (max-width: 996px) { // Magic numbers! This was the value which caused the site to go to mobile navigation + .header-discord-link::after { + content: 'Discord' + } + + .header-github-link::after { + content: 'GitHub' + } +} + .api-method>.menu__link { align-items: center; justify-content: start; @@ -311,6 +326,7 @@ html[data-theme='dark'] { font-size: 18px; padding-top: 5px; padding-bottom: 5px; + padding-left: 5px; } .tabs { diff --git a/src/pages/download.tsx b/src/pages/download.tsx index bee623f..aebc42b 100644 --- a/src/pages/download.tsx +++ b/src/pages/download.tsx @@ -137,6 +137,7 @@ const DownloadPage: React.FC = () => ( inner={ , }} @@ -173,6 +174,22 @@ const DownloadPage: React.FC = () => ( /> } /> + A java application to convert simple Java Edition resource packs to Bedrock Edition ones.} + id='thunder' + tags={['Beta']} + inner={ + Thunder, + }} + gridColumns={1} + /> + } + /> diff --git a/wiki/other/geyseroptionalpack.md b/wiki/other/geyseroptionalpack.md index 37455c8..ca64a68 100644 --- a/wiki/other/geyseroptionalpack.md +++ b/wiki/other/geyseroptionalpack.md @@ -20,6 +20,7 @@ GeyserOptionalPack is a Bedrock resource pack that adds more features to Geyser - 2x2 crafting grid while in creative mode - Tick-delay and rename fields in the command block menu - Structure block options that do not exist on Java +- Hides the accessibility background on titles for the weapon cooldown A more complete list can be found on the optional pack's [README](https://github.com/GeyserMC/GeyserOptionalPack/blob/master/README.md). Implementation details for those interested in how features are added can be found [here](https://github.com/GeyserMC/GeyserOptionalPack/blob/master/developer_documentation.md). diff --git a/wiki/other/hurricane.md b/wiki/other/hurricane.md index cbfdee4..237b2a9 100644 --- a/wiki/other/hurricane.md +++ b/wiki/other/hurricane.md @@ -13,8 +13,8 @@ Issues with each workaround are listed in the Hurricane config. **Please take yo - Bamboo and dripstone collision (by setting them to no server-side collision) Supported Versions: -- Spigot/Paper: 1.14.x - 1.21.1 -- Fabric: 1.21/1.21.1 +- Spigot/Paper: 1.14 - 1.21.8 +- Fabric: 1.21 - 1.21.4 ## Download {#download} - Spigot/Paper: [GeyserMC downloads page](/download/?project=other-projects&hurricane=expanded) diff --git a/wiki/other/rainbow.md b/wiki/other/rainbow.md new file mode 100644 index 0000000..1188e47 --- /dev/null +++ b/wiki/other/rainbow.md @@ -0,0 +1,37 @@ +--- +title: Rainbow +description: A Minecraft mod to generate Geyser item mappings and bedrock resourcepacks for use with Geyser's Custom Item API V2. +--- + +Rainbow is a Fabric client-sided Minecraft mod to generate Geyser item mappings and bedrock resourcepacks for use with Geyser's custom item API (v2) for use on servers. + +## What is Rainbow? {#what-is-rainbow} + +Rainbow is a generator to create Geyser item mappings and Bedrock Edition resource packs, it uses the Geyser Custom Item API V2 format to allow the use of 1.21.4+ Java Edition packs. + +:::caution + +This project is early in development! Any bugs and issues should be reported in our [Discord](https://discord.gg/geysermc). + +::: + +## Usage {#usage} + +To use Rainbow: +1. You need setup a 1.21.7/.8 Fabric client for Java Edition and ensure the mod is present on the client. +2. Join your server of choice to start converting packs and run `/rainbow create ` with `` being the name of your output pack. +3. You can map things in a couple of ways: + - Hold each item in your hand one by one and run `/rainbow map` while holding the item. + - Fill your inventory with the custom items and run `/rainbow mapinventory` to map your entire inventory. + - Run `/rainbow auto inventory` and open a UI with the custom content (For example, a chest or command from a plugin to show custom content.). Rainbow will continue mapping all custom items until you stop the process with `/rainbow auto stop`. +4. Run `/rainbow finish` to finish your conversion, Rainbow will then output your pack and mappings file to `/rainbow/`, optionally, you can click the `Wrote pack to disk` message in chat to open the folder. +5. In this folder, you will find 3 files, `pack.zip` which you put in your `packs` folder of your server, `geyser_mappings.json` which you put in your `custom_mappings` folder of your server and finally `report.txt` which you can send in our [Discord](https://discord.gg/geysermc) if you face issues, otherwise, you can ignore this file. + +## Download {#download} + +You can download Rainbow [here](/download/?project=other-projects&rainbow=expanded). + +## Contributing {#contributing} + +Any contributions are appreciated. Please feel free to reach out to us on [Discord](https://discord.gg/geysermc) if +you're interested in helping out with Rainbow. diff --git a/wiki/other/thunder.md b/wiki/other/thunder.md new file mode 100644 index 0000000..a18f42e --- /dev/null +++ b/wiki/other/thunder.md @@ -0,0 +1,34 @@ +--- +title: Thunder +description: 'A java application to convert simple Java Edition resource packs to Bedrock Edition ones.' +--- + +Thunder is a java application to convert simple Java Edition resource packs to Bedrock Edition ones. + +## What is Thunder? {#what-is-thunder} + +Thunder is a converter for simple Java Edition resource packs which can generate Bedrock Edition packs, it currently converts resource packs which modifies existing vanilla assets. + +:::caution + +Not only is this project in early beta, it does **not** convert custom items! Please look towards [Rainbow](/wiki/other/rainbow) for that. + +::: + +## Usage {#usage} + +1. Ensure you have Java 17 or higher installed, if you do you should be able to open the file like a normal program. +2. Select the Java edition resource pack using the button on the left. Once you do, if it was successful you should see the icon of the pack. +3. Change the output pack name. This is the name shown to the Bedrock client. +4. Hit the convert button to start the conversion process. This step may take a while. +5. Once completed, the converter Bedrock edition resource pack will be in the same place as where your Java pack was. +You can now either use the pack on the Bedrock client, or place it in the `packs` folder in your Geyser server. + +## Download {#download} + +You can download Thunder [here](/download/?project=other-projects&thunder=expanded). + +## Contributing {#contributing} + +Any contributions are appreciated. Please feel free to reach out to us on [Discord](https://discord.gg/geysermc) if +you're interested in helping out with Thunder.