MinecraftForge / Documentation

Read the docs MinecraftForge documentation
MIT License
463 stars 193 forks source link

[1.19] Menus and Screens: An HCI Research Paper #465

Closed ChampionAsh5357 closed 1 year ago

ChampionAsh5357 commented 1 year ago

Adds in the documentation relating to creating menus and screens.

I figured it's probably better to keep people up to date on what I'm working on since I tend not to have a lot of time for docs recently. So, here is what I currently have, and I'll keep working on it when I can.

Things to do:

eerussianguy commented 1 year ago

Not terribly interesting, but it's safe to store menu providers in a static final field rather than creating it each time, though that's not the vanilla pattern.

ChampionAsh5357 commented 1 year ago

It could also be a method on an instance as well. Though I don't believe there's any difference in execution speed since it gets compiled down to the same thing.