As far as I can tell, GuiElement cannot be sub-classed from another package, as no constructor is public. I am curious to know which is the rationale behind this decision.
My use case for sub-classing GuiElement directly rather than one of its net.risingworld.api.gui sub-classes: I am trying to implementing some form of dialogue box (kind of...) which 'auto-layout' itself (to some extent) and I need a GuiElement sub-class with no visible output but able to position its children. I can build on GuiPanel, but I thought to avoid the overhead of an intermediate class whose capabilities I do not need.
Thanks!