GeyserMC (Bedrock)

GeyserMC (Bedrock)

View as Markdown ·

On this page

#Overview

For Bedrock to work, the most common practice is to have a Java version with Geyser that allows Bedrock clients.

Please note: This guide will not cover the installation process of Geyser itself. Refer to the Geyser wiki for comprehensive installation instructions: Geyser Wiki Setup

#Bedrock Forms

circle-info

These options are in the bedrock section of config.yml. They have no editor option.

Bedrock players can use the player menus as native Bedrock forms instead of chest menus. Forms need Floodgate or Geyser to be installed on the same server as the plugin. Without either, everyone gets the chest menus.

YAML
bedrock:
  forms: true
  input-modes: []
  allow-opt-out: true
  resize-chest-menus: true
  icons:
    enabled: true
    fallback-url: ""
    head-url: "https://mc-heads.net/head/%texture%"
Menu Bedrock form
Rewards preview A button per reward with its chance, or the keys it needs in selective crates. Tapping a reward shows its full description. Reward groups open their own list.
Reward selection A button per reward with the keys it needs. Tapping an unlocked reward redeems it, a locked one shows why it is locked.
Confirmation A confirm and a cancel button.
Reroll A claim and a reroll button, or only claim when no rerolls are left. Closing the form claims the reward.
Virtual keys A button per key with the amount owned.

The preview and selection forms list the keys the player owns for that crate at the top. Buttons use the menu titles and the reward, key and button names of the menu files, with colors kept and hex colors removed, since forms cannot show them. The rest of the form text comes from the bedrock section of the translations file. Opening animations are not forms and look the same as on Java.

The Crate Claim, Milestones and Mass Opening add-ons have forms for their player menus too, described on their pages.

Every other menu, the editor included, stays a chest menu. A button with several click actions asks Bedrock players which one to run, since Bedrock cannot Shift or right-click, and text input opens as a form.

If a form cannot be sent, the player gets the chest menu instead and the console says so.

#Forms

Turns Bedrock forms on or off for the whole server. When off, Bedrock players get the chest menus like everyone else.

#Input Modes

Limits forms to Bedrock players on certain devices, by their input mode: TOUCH, CONTROLLER, KEYBOARD_MOUSE or VR. Players on any other input get chest menus. Leave the list empty to give forms to every Bedrock player.

#Allow Opt Out

Lets Bedrock players choose chest menus for themselves. The preview, selection and virtual keys forms get a button to switch to chest menus, and /crates forms switches between the two. The choice is remembered per player. When this is off, every Bedrock player gets forms and the command is refused.

#Resize Chest Menus

Bedrock only draws chest menus of 3 or 6 rows cleanly. With this on, a player menu of 1 or 2 rows is opened with 3 rows and a menu of 4 or 5 rows with 6, for Bedrock players who get chest menus. Java players always see the rows the menu is set to.

#Icons

Adds an icon to form buttons.

  • enabled - Turns icons on or off.
  • fallback-url - An image URL for materials the built-in icon table does not know. %material% is replaced by the material name in lower case. Leave it empty for no icon.
  • head-url - An image URL for player heads. %texture% is replaced by the head's texture id, or the owner's name when it has no texture. Leave it empty for no head icons.

Vanilla items use the Bedrock texture of the same item. Items with custom model data or an item model get no icon, since their texture only exists in a resource pack.

#Step by Step Guide

#Step 1: Install Geyser Optional Pack

The GeyserOptionalPack is a resource pack specifically designed for Bedrock Edition clients playing on Geyser servers. It adds features and bug fixes to bring the Bedrock experience closer to Java Edition, including improvements in model rendering.

A resource pack allows for additional features and bug fixes to be implemented within the limitations of Bedrock Edition.

You can download the GeyserOptionalPack from the official GitHub repository: GeyserOptionalPack GitHub.

#Step 2: Convert Your Java Resource Pack to Bedrock

While some complex Java textures require manual conversion, this guide will focus on converting simpler models.

There are two main approaches depending on your source for the Java models:

#2.1 Using Kastle Java to Bedrock Converter:

We will be using Kas-tle's java2bedrock conversion tool available at this link: Kas-tle java2bedrock conversion.

Here's how to convert your Java resource pack to Bedrock using java2bedrock.sh:

2.1.1 Convert the Java Model Engine Resource Pack (Optional):

  • Extract the resource_pack.zip file from plugins/ModelEngine/resource_pack.zip.
  • Merge the extracted files with your other java resource packs (if needed) and proceed to the next step.

2.1.2 Uploading Your Java Resource Pack:

Unfortunately, in most cases, you won't have a direct URL for your Java resource pack. Here's a workaround using Dropbox:

  1. Upload your Java resource pack to Dropbox.
  2. Get a direct download link for the file. To do this, access the file in Dropbox and click the "..." menu. Then, select "Share" and copy the link.
  3. Important: Append "&dl=1" to the end of the copied URL. This enables direct downloading.

2.1.3 Generate Bedrock Resource Pack:

  • Visit the java2bedrock.sh conversion link (Kas-tle java2bedrock conversion).
  • Paste your modified Dropbox download URL (with "&dl=1") into the "Java Pack Direct Download URL" option.
  • Follow the converter's instructions to complete the conversion process.
  • Click on "Submit new issue" to initiate the conversion.
  • Wait for the conversion to be over

2.1.4 Using the Converted Resource Pack:

  • Once the conversion is complete, download the generated Bedrock resource pack.
  • Place the converted Bedrock resource pack in the Geyser > packs folder on your server.
  • Place the file geyser_mappings.json file in the Geyser > custom_mappings folder on your server.

#Bedrock Skull Textures

Bedrock cannot load player head textures on its own, so opening animations that use heads need every head registered in Geyser's skin-hashes option, following the Geyser custom skulls guide. Add the part of each link after http://textures.minecraft.net/texture/.

Christmas Crate Animations add-on
Animation Heads
Santa Claus Santa, Kid
Elf Present, TV, Elf
Christmas Tree Ornament
Presents, every animation White, Green, Blue, Purple, Yellow, Red
Ornaments, every animation Red, Orange, Yellow, Lime, Green, Dark Green, Dark Aqua, Dark Blue, Aqua, Very Dark Blue, Purple, Magenta, Pink
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping