Мова

Sodium Options API

Sodium Options API

ModrinthCurseForge

Config API for adding Sodium options with a better categories menu

18.3M завантажень 492 підписників оновлено 15mo ago
остання vfabric-1.21.5-1.0.11 Modrinth
Fabric Forge Neoforge 1.20 – 1.21.5 OptimizationUtility

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.

Версії

Release
fabric-1.21.5-1.0.11
fabric · 1.21.5 · 15mo ago
Port to 1.21.5
99.2k
Release
neoforge-1.21.5-1.0.11
neoforge · 1.21.5 · 15mo ago
Port to 1.21.5
4.5k
Release
neoforge-1.21.4-1.0.10
neoforge · 1.21.4 · 18mo ago
Fixed compat with latest Reese's Options Added blacklist for Flashback, Axiom, and Dynamic FPS showing up incorrectly in the Options menu
28.5k
Release
fabric-1.21.4-1.0.10
fabric · 1.21.4 · 18mo ago
Fixed compat with latest Reese's Options Added blacklist for Flashback, Axiom, and Dynamic FPS showing up incorrectly in the Options menu
236.1k
Release
forge-1.20.1-1.0.10
forge · 1.20, 1.20.1 · 18mo ago
Fixed compat with latest Reese's Options Added blacklist for Flashback, Axiom, and Dynamic FPS showing up incorrectly in the Options menu
3.0M
Release
fabric-1.21.1-1.0.10
fabric · 1.21.1 · 18mo ago
Fixed compat with latest Reese's Options Added blacklist for Flashback, Axiom, and Dynamic FPS showing up incorrectly in the Options menu
8.5M
Release
neoforge-1.21.1-1.0.10
neoforge · 1.21.1 · 18mo ago
Fixed compat with latest Reese's Options Added blacklist for Flashback, Axiom, and Dynamic FPS showing up incorrectly in the Options menu
1.6M
Release
fabric-1.20.1-1.0.10
fabric · 1.20, 1.20.1 · 18mo ago
Fixed compat with latest Reese's Options Added blacklist for Flashback, Axiom, and Dynamic FPS showing up incorrectly in the Options menu
2.0M
Release
forge-1.20.1-1.0.9
forge · 1.20, 1.20.1 · 19mo ago
Add some extension methods for manually overriding category IDs
133.2k
Release
neoforge-1.21.4-1.0.9
neoforge · 1.21.4 · 19mo ago
Add some extension methods for manually overriding category IDs
1.3k
Release
fabric-1.21.4-1.0.9
fabric · 1.21.4 · 19mo ago
Add some extension methods for manually overriding category IDs
13.9k
Release
fabric-1.21.1-1.0.9
fabric · 1.21.1 · 19mo ago
Add some extension methods for manually overriding category IDs
37.5k

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

FAQ

Як встановити Sodium Options API?

Завантажте файл під свою версію Minecraft і завантажувач із цієї сторінки, потім покладіть .jar у папку mods (або plugins) і запустіть гру.

Sodium Options API безкоштовний?

Sodium Options API можна завантажити безкоштовно на Modgrid — ми ведемо прямо до офіційного джерела.

Які версії Minecraft підтримує Sodium Options API?

Працює з Fabric, Forge, Neoforge. Підтримуються версії 1.20–1.21.5. Перелік підтримуваних версій і завантажувачів — у блоці завантаження на цій сторінці.

Завантажити Sodium Options API

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

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.