Share

Share

Mods/ModOptionsAPI

From Minecraft Wiki
Jump to: navigation, search
The contents of this page are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums.
[edit]ModOptionsAPI
Upload ModOptionsAPI.png
Author

Clintonxa

Links

Forum

Version

0.63

Compatible with

1.6.6

Modloader

No

The Mod Options API menu button

This mod allows other mod developers to add simple configurable options to their mod without editing core Minecraft files. The mod adds a 'Mod Options' button in the Minecraft menu containing settings for any supported mods. Mods that use this feature include Minecraft Enhanced and Nature Overhaul amongst others.

The mod also allows developers the option to change settings for every world/ server other mods are run on, or to only affect the single currently loaded world.

Dependencies[edit]

None

Options available to developers using this mod[edit]

API Features[edit]

  • Boolean/Toggle options
  • List/MultiValue options
  • Slider options (int/float based)
  • Sub-option menus for more complex menus
  • A more complex OO API for those who dislike the simpler addToggleOption/getOptionValue/setOptionValue API
  • Full included JavaDoc, source and a fully working example mod in the download
  • Simple API for modifying the GUI settings
  • Well designed and consistent API
  • World and server specific values