Today I worked mainly on the GUI system for my Minecraft Manhunt mod.What I worked onAdded the “LET’S PLAY MANHUNT” starting screen.Added an OPEN LAN WORLD button so the host can open the world to other players.Added a START MANHUNT button that opens the player selection screen.Created a new SELECT PLAYERS GUI.Designed the player selection screen with a centered panel and separate RUNNER and HUNTERS sections.Improved the GUI layout and changed the player buttons to a smaller size so they don’t take up too much space.Added detection of players currently connected to the world using the client connection.Started implementing runner selection by turning connected player names into clickable buttons.Added a selectedRunner variable to keep track of the selected runner.Tested the GUI and confirmed that clicking a player can register them as the selected runner.Cleaned up some of the selection code and layout.Current GUI flowMinecraft World
↓
LET’S PLAY MANHUNT
↓
[ OPEN LAN WORLD ]
[ START MANHUNT ]
↓
SELECT PLAYERS
↓
RUNNER
[ Player ]
HUNTERS
[ Player ]
[ Player ]
[ DONE ]The GUI is still being developed. The next step is to properly separate Runner selection from Hunter selection, allow multiple hunters, and then send the selected roles to the server to actually start the Manhunt.Overall, today was mostly about building the foundation of the custom Manhunt GUI and getting player selection started.