From 260eea07880f691eda7ca712f08c1963ebb5910d Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Tue, 1 Feb 2022 20:26:46 +0100 Subject: [PATCH] Added new client settings from 1.17+ in IOnlinePlayer --- .../pandacube/lib/core/players/IOnlinePlayer.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Core/src/main/java/fr/pandacube/lib/core/players/IOnlinePlayer.java b/Core/src/main/java/fr/pandacube/lib/core/players/IOnlinePlayer.java index ae1341c..2ef39eb 100644 --- a/Core/src/main/java/fr/pandacube/lib/core/players/IOnlinePlayer.java +++ b/Core/src/main/java/fr/pandacube/lib/core/players/IOnlinePlayer.java @@ -333,6 +333,20 @@ public interface IOnlinePlayer extends IOffPlayer { 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();