AlmuraDev / SGCraft

Stargates mod for Minecraft
https://www.almuramc.com/sgcraft/SGCraft.html
MIT License
31 stars 31 forks source link

Convertion of GDO screen to EGO #158

Closed Ordinastie closed 4 years ago

Ordinastie commented 4 years ago

SGWindow is a base for windows and panel with SGCraft looks. Builders are provided for both the background and the component for easy configurable result

Fixed the invisible cursor bug by scheduling the opening of the gui on the client thread. Most of the data sent to the client is not necessary anymore and should be refatored away, both in the packet and the item right click. Fixed the method to find a nearby gate. I recommend changing all the calls to the old method everywhere else.

I left the .editorconfig that allows the formatting to be directory dependant. It's handled by IDEA natively but Eclipse might need a plugin.