Sodium Options API

Sodium Options API

Config API for adding Sodium options with a better categories menu

von
19.3M Downloads
fabricforgeneoforgeoptimizationutility
Kompatiblen Minecraft Server konfigurieren

Screenshots

Better Options Menu

Über diese Mod

banner

This mod adds cross-platform events for adding Sodium/Embeddium options menu integration. For example, you can add an option page to Embeddium on Forge, Fabric Sodium 0.5 on 1.20.1, and Fabric/NeoForge Sodium 0.6 on 1.21.1 with one event:

OptionGUIConstruction.EVENT.register((pages) -> pages.add(new TestOptionPage()));

If you're an end user, and you don't have this mod installed already as a library for another Sodium addon, you can install it alongside Reese's Options to get improved category menu, with drop-down support so that it's easier to navigate. This will take effect even for mods that don't use this API and inject into Sodium options directly.

demo

This mod is partially a fork of the Embeddium categories API and options events, with heavy changes to support upstream Sodium. While it makes changes to the Reese's Sodium Options menu, it does so via mixin for compatibility reasons, so you will need to install both.

Using the API

First, you will need to add this mod to your dev environment, using the Maven release for Curseforge or Modrinth.

modImplementation("maven.modrinth:sodium-options-api:version")

Then, this mod provides three events in toni.sodiumoptionsapi.api:

  • OptionGUIConstruction.EVENT, called once in the GUI constructor, allows adding entire pages. This is probably the one you want.
  • OptionPageConstruction.EVENT, called for each OptionPage. Use this if you want to add a group of toggles to the performance tab or something.
  • OptionGroupConstruction.EVENT, called for each group of options. Use this if you want to insert a single option into an existing group, or modify the vanilla ones.

Verfügbare Versionen

SodiumOptionsAPI Fabric 1.0.11 for 1.21.5release
MC 1.21.5fabric
10. April 2025
SodiumOptionsAPI Neoforge 1.0.11 for 1.21.5release
MC 1.21.5neoforge
10. April 2025
SodiumOptionsAPI Neoforge 1.0.10 for 1.21.4release
MC 1.21.4neoforge
18. Januar 2025
SodiumOptionsAPI Fabric 1.0.10 for 1.21.4release
MC 1.21.4fabric
18. Januar 2025
SodiumOptionsAPI Forge 1.0.10 for 1.20.1release
MC 1.20, 1.20.1forge
18. Januar 2025

Sodium Options API auf deinem Client installieren

1

Mod-Loader lokal installieren

Installiere fabric für deine lokale Minecraft-Version.

2

Passende Datei herunterladen

Wähle die Sodium Options API-Datei für fabric und Minecraft 1.21.5.

3

Mod installieren

Lege die .jar-Datei in deinem lokalen .minecraft/mods-Ordner ab und starte Minecraft neu. Eine Installation auf dem Server ist nicht nötig.

Kompatibilität

Mod-Loader

fabricforgeneoforge

Minecraft-Versionen

1.21.5, 1.21.4, 1.21.1 (+2 weitere)

Server-seitig

Nicht unterstützt

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

Muss Sodium Options API auf dem Minecraft Server installiert werden?

Nein. Modrinth kennzeichnet Sodium Options API serverseitig als nicht unterstützt. Installiere die Mod nur im lokalen Minecraft-Mods-Ordner. Dein Server kann unverändert bleiben, sofern die Mod-Seite keine zusätzliche Abhängigkeit nennt.

Welche Version und welchen Loader braucht Sodium Options API?

Nutze eine Datei für fabric, forge, neoforge und exakt deine Minecraft-Version. Unterstützte Versionen sind unter anderem 1.21.5, 1.21.4, 1.21.1. Loader-Dateien sind nicht untereinander austauschbar.

Sodium Options API funktioniert nicht – was kann ich prüfen?

Prüfe zuerst Minecraft-Version, Loader-Version und erforderliche Abhängigkeiten. Lege die .jar-Datei im lokalen .minecraft/mods-Ordner ab und entferne ältere Duplikate. Da die Mod clientseitig ist, löst mehr Server-RAM dieses Problem nicht.

Minecraft Server für deine Gruppe

Sodium Options API bleibt auf deinem Client. Hoste dazu eine kompatible Welt für deine Mitspieler.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
Client-Kompatibilitätsanleitung
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
GNU Lesser General Public License v3.0 only
Server-seitig
Nicht unterstützt

Unterstützte Versionen

1.21.51.21.41.21.11.20.11.20