Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Adding options to the options menu.
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
user768595

Adding options to the options menu.

By user768595, November 25, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

user768595    0

user768595

user768595    0

  • Tree Puncher
  • user768595
  • Members
  • 0
  • 1 post
Posted November 25, 2020

I need to add a option to the options menu. Is there an api or something for doing this? I'm currently using awkward way which I'm not sure will be capable with other mods.

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7586

diesieben07

diesieben07    7586

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7586
  • 54921 posts
Posted November 25, 2020

There is no API. I would recommend you make your own screen which is reachable from the mod options.

To do this use ModLoadingContext#registerExtensionPoint with ExtensionPoint.CONFIGGUIFACTORY, which allows you to register your own configuration GUI.

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Heinzchen
      Update mod to 1.16.5

      By Heinzchen · Posted 20 minutes ago

      Hi. I am  new to programming mods. I have a mod for the minecraft version 1.15.2. But I do not know how to update it to the newest minecraft version (1.16.5).
    • diesieben07
      Forge error mid-loading (Redstone flux, 1.12.2)

      By diesieben07 · Posted 26 minutes ago

      1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • amundo
      Forge error mid-loading (Redstone flux, 1.12.2)

      By amundo · Posted 28 minutes ago

      Hey, i have alot of mods installed, and one of them requires redstone flux. I read that i should add "-Dcofh.rf.crashOnOldAPI=false" but it doesn't work, i tried deleting the whole JVM arguments and just adding onto the "original" ones but it just won't work. Can someone help me with this?
    • cadbane86140
      Minecraft: Survival Island Episode 6- Beds, Mineshafts and more Stupidity!

      By cadbane86140 · Posted 29 minutes ago

      Hello There! In today's Survival Island episode we FINALLY make beds, yeah I know it's been like 5 episodes and that was the first challenge haha but we got it! We also explore the mineshaft we found last episode and we also discuss our next big project! There are so many hilarious moments in this episode that I know you guys are gonna love! I hope you all enjoy this video and if you did don't forget to like and sub for more survival island in the future!   
    • Gęsioł
      1.16.4 "The Vanilla Experience" Server problem

      By Gęsioł · Posted 39 minutes ago

      Well i removed mods thaw was causing problems and it works...
  • Topics

    • Heinzchen
      0
      Update mod to 1.16.5

      By Heinzchen
      Started 20 minutes ago

    • amundo
      1
      Forge error mid-loading (Redstone flux, 1.12.2)

      By amundo
      Started 28 minutes ago

    • cadbane86140
      0
      Minecraft: Survival Island Episode 6- Beds, Mineshafts and more Stupidity!

      By cadbane86140
      Started 29 minutes ago

    • Gęsioł
      2
      1.16.4 "The Vanilla Experience" Server problem

      By Gęsioł
      Started 1 hour ago

    • Forix
      0
      [1.16.4] Multiple worlds

      By Forix
      Started 45 minutes ago

  • Who's Online (See full list)

    • greenbouncer1
    • DaemonUmbra
    • TheCapriKing
    • WildHeart
    • BGames
    • JeffMan
    • Heinzchen
    • Klarks
    • XmasAspire
    • diesieben07
    • stray00000009
    • stray
    • loordgek
    • Leafy Vine
    • Microcellule
    • RedBobKid
    • amundo
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Adding options to the options menu.
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community