stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
328 stars 32 forks source link

Server connection screen isn't verbose enough #37

Closed stackotter closed 2 years ago

stackotter commented 3 years ago

The screen displayed while connecting to a server just says Downloading terrain even before it's technically downloading terrain. This makes it confusing to figure out why server connection isn't working when it breaks.

Extra information

The way updates are sent from the networking thread (in DeltaCore) to the UI (in DeltaClient) is through the event bus. To add an event create a struct that conforms to Event. See the existing events as reference. Then in the networking or wherever required, you can use eventBus.dispatch(YourNewEvent(...)) to notify listeners of the event. Then add handling code for the event to PlayServerView.handleClientEvent.