Vanilla Options API
ModAllow mods to use vanilla's systems to add custom options
Type
Mod
Modrinth Downloads
177
Modrinth ID
9Cxq4qJg
Last Updated
Jul 4, 2026
Description
Library that easily allows mod developers to create custom options using vanilla's systems, and add options to vanilla's option screens.
Code example:
public class MyMod implements ClientModInitializer { private static final OptionInstance<Boolean> OPTION = ...; public static OptionInstance<Boolean> option() { return OPTION; } @Override public void onInitializeClient() { Identifier optionId = Identifier.fromNamespaceAndPath("modid", "custom_option"); VanillaOptionsAPI.register(optionId, OptionsMenuLocation.ACCESSIBILITY, MyMod::option); } }The following would add a boolean option that saves to options.txt as modid.custom_option, appearing in the accessibilty options menu.
Compatibility
Mod Loaders
Game Versions
Similar Mods
Spiritborne Ascendants [Boss]
A mod that plans to add Souls-like bosses and unique weapons to Minecraft | The Reaper boss
Enderdragon Skull
This mod makes the ender dragon drop a dragon head. Nothing else. No config, no settings, just ender dragon dropping its...
Croptopia Handbook
Complete in-game book for Croptopia.
Name Tag Recipe Backport
Backports the recipe for Name Tags introduced in 26.1 Snapshot 2.
No Nether Portal Only
Disables nether portal activation.
ArkobiCoin
Simple mod to add economy items