Modrinth · Fabric, Forge, NeoForge · Client-Mod

Sodium Options API

Sodium Options API ist eine clientseitige Mod. Du installierst sie auf deinem Rechner, auf dem Server ist sie nicht nötig.

Config API for adding Sodium options with a better categories menu

Downloads
21.6M
Autor
Txni
Loader
Fabric, Forge, NeoForge
Minecraft
1.20 – 1.21.5
Aktualisiert
–

Screenshots

So sieht Sodium Options API aus

Bilder: Sodium Options API auf Modrinth, vom Projektteam veröffentlicht.

Einrichtung

Sodium Options API auf deinem Client installieren

Clientseitige Mods laufen nur auf deinem Rechner. Mehr Server-RAM ändert an ihrer Leistung nichts.

  1. 01

    Loader lokal installieren

    Installiere Fabric oder Forge oder NeoForge für deine Minecraft-Version in deinem Launcher.

  2. 02

    Datei herunterladen

    Lade die Sodium Options API-Datei für deinen Loader und exakt deine Minecraft-Version herunter, zum Beispiel 1.21.5.

  3. 03

    In den Mods-Ordner legen

    Lege die .jar-Datei in den lokalen Ordner .minecraft/mods und entferne ältere Duplikate.

  4. 04

    Starten

    Starte Minecraft mit dem Loader-Profil. Auf dem Server musst du nichts ändern.

Auf dem Server
Nicht nötig
Auf dem Client
Erforderlich
Loader
Fabric, Forge, NeoForge
Minecraft
1.21.5, 1.21.4, 1.21.1 +2 weitere
Lizenz
GNU Lesser General Public License v3.0 only

Versionen

Veröffentlichte Versionen

Nimm die Datei, die zu Loader und Minecraft-Version deines Servers passt. Server und Spieler brauchen dieselbe Version.

Sodium Options API · Modrinth
Originalbeschreibung des Projektautors

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.

FAQ

Fragen zu Sodium Options API

Deine Frage fehlt? Frag unser Team.

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 Mods-Ordner. Dein Server kann unverändert bleiben, sofern die Projektseite 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ützt werden unter anderem 1.21.5, 1.21.4, 1.21.1. Dateien für verschiedene Loader sind nicht austauschbar.

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

Prüfe zuerst Minecraft-Version, Loader-Version und erforderliche Abhängigkeiten. Da die Mod clientseitig ist, löst mehr Server-RAM das Problem nicht.

Mods für deinen eigenen Server gesucht?

Im Katalog findest du Mods, die auf Minecraft Servern laufen.

Alle Mods ansehen