staminadevelopment / minecraftapi

A cross-version compatible API for interacting with the Minecraft client.
MIT License
11 stars 2 forks source link

Added support for changing titles and getting the player list #20

Closed Trol closed 5 years ago

Trol commented 5 years ago

The World interface now has a variable to get all of the loaded player list. The Minecraft#setTitle method is needed due to pre-1.13 using LWJGL 2.9.x and post-1.13 using LWJGL 3.3.x, and they're not compatible in terms of changing the title.