Skip to content

Minecraft 1.20.1 için Sodium Options API Mod

Daha iyi kategoriler menüsüyle Sodium seçenekleri eklemek için Config API

başlangıç Txni · Modrinth
indirme
457 indirme
görüntülenme
1.345 görüntülenme
Güncellendi
Güncellendi 03.09.2026
  • 1.20 — 1.20.1
  • Forge
  • İstemci

Sodium Options API modu hakkında

banner

Bu mod, Sodium/Embeddium seçenekler menüsü entegrasyonu eklemek için platformlar arası olaylar sağlar. Örneğin, tek bir olayla Forge'da Embeddium'a, 1.20.1'de Fabric Sodium 0.5'e ve 1.21.1'de Fabric/NeoForge Sodium 0.6'ya bir seçenek sayfası ekleyebilirsiniz:

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

Son kullanıcıysanız ve bu modu başka bir Sodium eklentisi için kütüphane olarak zaten kurmadıysanız, geliştirilmiş kategori menüsü elde etmek için Reese's Options ile birlikte kurabilirsiniz; açılır menü desteğiyle gezinmek daha kolay olur. Bu, bu API'yi kullanmayan ve doğrudan Sodium seçeneklerine enjekte eden modlar için bile etkili olacaktır.

demo

Bu mod kısmen Embeddium kategoriler API'si ve seçenekler olaylarının bir çatalıdır; upstream Sodium'u desteklemek için yoğun değişiklikler yapılmıştır. Reese's Sodium Options menüsünde değişiklikler yapsa da bunu uyumluluk nedenleriyle mixin aracılığıyla yapar, bu yüzden ikisini de kurmanız gerekir.

API'yi kullanma

Öncelikle bu modu geliştirme ortamınıza eklemeniz gerekir; Curseforge veya Modrinth için Maven sürümünü kullanın.

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

Ardından, bu mod toni.sodiumoptionsapi.api içinde üç olay sağlar:

  • OptionGUIConstruction.EVENT, GUI yapıcısında bir kez çağrılır, tüm sayfaları eklemeye izin verir. Muhtemelen istediğiniz budur.
  • OptionPageConstruction.EVENT, her OptionPage için çağrılır. Performans sekmesine bir grup anahtar eklemek istiyorsanız bunu kullanın.
  • OptionGroupConstruction.EVENT, her seçenek grubu için çağrılır. Mevcut bir gruba tek bir seçenek eklemek veya vanilya olanları değiştirmek istiyorsanız bunu kullanın.

Sodium Options API nasıl kurulur

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.20–1.20.1 on Forge automatically, together with its dependencies: Embeddium.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Forge

    The loader must match the game version of the mod file, for example Minecraft 1.20.1. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file sodiumoptionsapi-forge-1.0.10-1.20.1.jar (434 KB) for your game version.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Embeddium.

  4. Launch the loader profile

    Open “Mods” in the main menu: Sodium Options API should be in the list.

Sodium Options API works on the player’s side only: there is no need to install it on a server.

Minecraft 1.20.1 runs on Java 17: with a different Java version the game may close right after launch.

Sürümler

Bağımlılıklarla

MinecraftYükleyiciDosyaİşlemler
1.20.1Forge1.20.1434 KB 456

Çalışması için gerekenler

SSS

Which Minecraft versions does Sodium Options API work on?

There are files for 1.20.1, 1.20. The newest is 1.20.1.

Is Sodium Options API for Forge or Fabric?

Only for Forge: 1.20–1.20.1. There are no files for Fabric or NeoForge: a mod for another loader will not start.

What does Sodium Options API need to work?

Required: Embeddium. Without it the mod will not start: dependencies go into the same mods folder.

Do I need to install Sodium Options API on a server?

No. Sodium Options API works on the player’s side only: there is no need to install it on a server.

Which Java does Sodium Options API need?

Minecraft 1.20.1 runs on Java 17. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download Sodium Options API safely?

On this page: the file sodiumoptionsapi-forge-1.0.10-1.20.1.jar (434 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 7529fbf938787ed13a251cbf40936f8c29ec4b6c.

Yorumlar

Sodium Options API için ilk puanı sen ver

Yorumlar 0

Yorum yapmak için giriş yapınGiriş yap

Benzer modlar

Tüm modlar

Bununla ilgili daha fazla

Yazar: TxniLisans: LGPL-3.0-onlyKaynak kodu

Yazarı siz misiniz? Bize yazın — 48 saat içinde kaldırırız.