MrTJP / ProjectRed

Redstone Engineering
MIT License
474 stars 184 forks source link

Rewrite GUI library for container-less UI support #1715

Closed MrTJP closed 2 years ago

MrTJP commented 2 years ago

The NodeGui class part of the ProjectRed GUI library awkwardly uses ContainerScreen even for UIs that don't actually have an associated container. This was done for convenience because there are some things that ContainerScreen has that I didn't feel like re-inventing. This has proven to be problematic because other mods such as Babel are (correctly so) assuming there is a non-null Container inside.