Shadows-of-Fire / PackMenu

Tool for editing the main menu in modpacks.
MIT License
16 stars 10 forks source link

An API for other mods to add stuff. #36

Closed bradcarnage closed 2 years ago

bradcarnage commented 2 years ago

https://github.com/Sintinium/oauth/issues/11

bradcarnage commented 2 years ago

"After looking through their wiki and code PackMenu doesn't have an api for other mods. So until they add support there's not much I can do." - Sintinium

Shadows-of-Fire commented 2 years ago

I thought the relogin button was contained on the play menus, not the main menus.

In any case, its a screen, and forge has events to add buttons to arbitrary screens

bradcarnage commented 2 years ago

its a screen, and forge has events to add buttons to arbitrary screens

How would I go about doing this?

Shadows-of-Fire commented 2 years ago

you can add buttons to any screen from the InitScreenEvent in a mod