Project Red - Expansion

Project Red - Expansion

31M Downloads

Rewrite GUI library for container-less UI support

MrTJP opened this issue ยท 0 comments

commented

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.

  • Begin Java rewrite with container-less GUI class and some basic nodes (Done in #1716)
  • Re-implement the non-container GUIs with the new non-container abstract class. This resolves a few reported issues for container-less UIs crashing the client (#1672).