Back to mods
Sodium Options API project artwork

Modrinth · Minecraft mod

Sodium Options API

Config API for adding Sodium options with a better categories menu

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Sodium Options API release matches 1.20 Forge?

Updated 1 year ago
Best match for your filters forge-1.20.1-1.0.10
Game version 1.20, 1.20.1
Loader Forge

Sodium Options API forge-1.20.1-1.0.10 targets 1.20, 1.20.1 with Forge. It must be installed on the client. Do not install it on the dedicated server. 1 required mod needs a matching file.

Where it goes

Is Sodium Options API required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Sodium Options API forge-1.20.1-1.0.10 need?

forge-1.20.1-1.0.10 on 1.20 Forge. Every mod below is checked against that same setup.

1 required mod needs a matching file

Install Embeddium first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

Embeddium Needed by Sodium Options API forge-1.20.1-1.0.10
required
No matching file

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Sodium Options API without breaking your instance.

Built for Sodium Options API forge-1.20.1-1.0.10 on 1.20 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use forge-1.20.1-1.0.10. It targets 1.20, 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Embeddium first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside forge-1.20.1-1.0.10. It opens that exact file at the source.

About this project

What does Sodium Options API add?

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.

Project description from Modrinth.

Pick your setup

Sodium Options API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

10 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Sodium Options API versions and loaders

9 of 42 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.