Language

Sodium/Embeddium Options API

Sodium/Embeddium Options API

CurseForge

Config API for adding Sodium/Embeddium options with a better categories menu

71.7M downloads Txni
latest vSodiumOptionsAPI Neoforge 1.0.11 for 1.21.5 CurseForge
Neoforge Fabric Forge API and LibraryCosmetic

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.

  !<a href= !<a href= !<a href=

 

 

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.

Versions

Release
SodiumOptionsAPI Neoforge 1.0.11 for 1.21.5
neoforge · 1.21.5 · 15mo ago
7.9k
Release
SodiumOptionsAPI Fabric 1.0.11 for 1.21.5
fabric · 1.21.5 · 15mo ago
40.5k
Release
SodiumOptionsAPI Neoforge 1.0.10 for 1.21.1
neoforge · 1.21.1 · 18mo ago
1.1M
Release
SodiumOptionsAPI Fabric 1.0.10 for 1.21.4
fabric · 1.21.4 · 18mo ago
192.0k
Release
SodiumOptionsAPI Fabric 1.0.10 for 1.21.1
fabric · 1.21.1 · 18mo ago
1.3M
Release
SodiumOptionsAPI Forge 1.0.10 for 1.20.1
forge · 1.20.1, 1.20 · 18mo ago
5.1M
Release
SodiumOptionsAPI Fabric 1.0.10 for 1.20.1
fabric · 1.20.1, 1.20 · 18mo ago
259.4k
Release
SodiumOptionsAPI Neoforge 1.0.10 for 1.21.4
neoforge · 1.21.4 · 18mo ago
287.2k
Release
SodiumOptionsAPI Forge 1.0.9 for 1.20.1
forge · 1.20.1, 1.20 · 19mo ago
1.3M
Release
SodiumOptionsAPI Fabric 1.0.9 for 1.21.4
fabric · 1.21.4 · 19mo ago
22.6k
Release
SodiumOptionsAPI Fabric 1.0.9 for 1.21.1
fabric · 1.21.1 · 19mo ago
71.8k
Release
SodiumOptionsAPI Neoforge 1.0.9 for 1.21.4
neoforge · 1.21.4 · 19mo ago
7.9k

Comments 0

No comments yet. Be the first to share your thoughts.

FAQ

How do I install Sodium/Embeddium Options API?

Download the file for your Minecraft version and loader from this page, then drop the .jar into your mods (or plugins) folder and launch the game.

Is Sodium/Embeddium Options API free?

Sodium/Embeddium Options API is free to download on Modgrid — we link straight to the official source, no paywall or bundled installer.

Which Minecraft versions does Sodium/Embeddium Options API support?

Works with Neoforge, Fabric, Forge. See the download section on this page for the full list of supported versions and loaders.

Download Sodium/Embeddium Options API

R SodiumOptionsAPI Neoforge 1.0.11 for 1.21.5 1.21.5 neoforge 308 KB R SodiumOptionsAPI Fabric 1.0.11 for 1.21.5 1.21.5 fabric 305 KB R SodiumOptionsAPI Neoforge 1.0.10 for 1.21.1 1.21.1 neoforge 302 KB R SodiumOptionsAPI Fabric 1.0.10 for 1.21.4 1.21.4 fabric 897 KB R SodiumOptionsAPI Fabric 1.0.10 for 1.21.1 1.21.1 fabric 882 KB R SodiumOptionsAPI Forge 1.0.10 for 1.20.1 1.20.1, 1.20 forge 434 KB R SodiumOptionsAPI Fabric 1.0.10 for 1.20.1 1.20.1, 1.20 fabric 642 KB R SodiumOptionsAPI Neoforge 1.0.10 for 1.21.4 1.21.4 neoforge 302 KB R SodiumOptionsAPI Forge 1.0.9 for 1.20.1 1.20.1, 1.20 forge 434 KB R SodiumOptionsAPI Fabric 1.0.9 for 1.21.4 1.21.4 fabric 897 KB R SodiumOptionsAPI Fabric 1.0.9 for 1.21.1 1.21.1 fabric 883 KB R SodiumOptionsAPI Neoforge 1.0.9 for 1.21.4 1.21.4 neoforge 302 KB R SodiumOptionsAPI Fabric 1.0.9 for 1.20.1 1.20.1, 1.20 fabric 643 KB R SodiumOptionsAPI Neoforge 1.0.9 for 1.21.1 1.21.1 neoforge 302 KB R SodiumOptionsAPI Neoforge 1.0.8 for 1.21.1 1.21.1 neoforge 302 KB R SodiumOptionsAPI Forge 1.0.8 for 1.20.1 1.20.1, 1.20 forge 434 KB R SodiumOptionsAPI Fabric 1.0.8 for 1.20.1 1.20.1, 1.20 fabric 299 KB R SodiumOptionsAPI Fabric 1.0.8 for 1.21.1 1.21.1 fabric 299 KB R SodiumOptionsAPI Fabric 1.0.6 for 1.20.1 1.20.1, 1.20 fabric 298 KB R SodiumOptionsAPI Fabric 1.0.6 for 1.21.1 1.21.1 fabric 298 KB R SodiumOptionsAPI Neoforge 1.0.6 for 1.21.1 1.21.1 neoforge 301 KB R SodiumOptionsAPI Forge 1.0.6 for 1.20.1 1.20.1, 1.20 forge 433 KB R SodiumOptionsAPI Fabric 1.0.5 for 1.20.1 1.20.1, 1.20 fabric 298 KB R SodiumOptionsAPI Forge 1.0.5 for 1.20.1 1.20.1, 1.20 forge 433 KB R SodiumOptionsAPI Neoforge 1.0.5 for 1.21.1 1.21.1 neoforge 301 KB R SodiumOptionsAPI Fabric 1.0.5 for 1.21.1 1.21.1 fabric 298 KB R SodiumOptionsAPI Fabric 1.0.4 for 1.20.1 1.20.1, 1.20 fabric 298 KB R SodiumOptionsAPI Fabric 1.0.4 for 1.21.1 1.21.1 fabric 298 KB R SodiumOptionsAPI Neoforge 1.0.4 for 1.21.1 1.21.1 neoforge 301 KB R SodiumOptionsAPI Forge 1.0.4 for 1.20.1 1.20.1, 1.20 forge 433 KB R SodiumOptionsAPI Fabric 1.0.3 for 1.21.1 1.21.1 fabric 298 KB R SodiumOptionsAPI Fabric 1.0.3 for 1.20.1 1.20.1, 1.20 fabric 298 KB R SodiumOptionsAPI Neoforge 1.0.3 for 1.21.1 1.21.1 neoforge 301 KB R SodiumOptionsAPI Forge 1.0.3 for 1.20.1 1.20.1, 1.20 forge 433 KB R SodiumOptionsAPI Forge 1.0.2 for 1.20.1 1.20.1, 1.20 forge 433 KB R SodiumOptionsAPI Fabric 1.0.2 for 1.21.1 1.21.1 fabric 298 KB R SodiumOptionsAPI Neoforge 1.0.2 for 1.21.1 1.21.1 neoforge 301 KB R SodiumOptionsAPI Fabric 1.0.2 for 1.20.1 1.20.1, 1.20 fabric 298 KB R SodiumOptionsAPI Fabric 1.0.0 for 1.21.1 1.21.1 fabric 298 KB R SodiumOptionsAPI Forge 1.0.0 for 1.20.1 1.20.1, 1.20 forge 433 KB R SodiumOptionsAPI Neoforge 1.0.0 for 1.21.1 1.21.1 neoforge 301 KB R SodiumOptionsAPI Fabric 1.0.0 for 1.20.1 1.20.1, 1.20 fabric 298 KB

Files are served directly from the original source. Modgrid does not host or modify them.