Added new client settings from 1.17+ in IOnlinePlayer

This commit is contained in:
Marc Baloup 2022-02-01 20:26:46 +01:00
parent cb954f3d42
commit 260eea0788
Signed by: marcbal
GPG Key ID: BBC0FE3ABC30B893

View File

@ -333,6 +333,20 @@ public interface IOnlinePlayer extends IOffPlayer {
public boolean isRightHanded(); public boolean isRightHanded();
/**
* Tells if the client has enabled the filtering of texts on sign and book titles.
* Always false as of MC 1.18.
*/
public boolean isTextFilteringEnabled();
/**
* Tells if the client allows the server to list their player name in the
* multiplayer menu.
*/
public boolean allowsServerListing();
public boolean hasSkinCapeEnabled(); public boolean hasSkinCapeEnabled();