Interface PlayerSettings
public interface PlayerSettings
Represents the settings of the player.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe possible chat modes.static enumThe possible primary hands. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the chat color setting of the client.@NotNull PlayerSettings.ChatModechatMode()Gets the chat mode setting of the client.@NotNull Localelocale()Gets theLocaleof the client.@NotNull PlayerSettings.HandmainHand()Gets the primary hand of the client.booleanGets the server listings setting of the client.intGets the skin parts of the client.booleanGets the text filtering setting of the client.byteGets the view distance of the client.
-
Method Details
-
locale
Gets theLocaleof the client.- Returns:
- the client's locale
- Since:
- 1.0.0
-
viewDistance
byte viewDistance()Gets the view distance of the client.- Returns:
- the client's view distance
- Since:
- 1.0.0
-
chatMode
Gets the chat mode setting of the client.- Returns:
- the client's chat mode setting
- Since:
- 1.0.0
-
chatColorsEnabled
boolean chatColorsEnabled()Gets the chat color setting of the client.- Returns:
- whether the client has chat colors enabled.
- Since:
- 1.0.0
-
skinParts
int skinParts()Gets the skin parts of the client.- Returns:
- the client's skin parts.
- Since:
- 1.0.0
-
mainHand
Gets the primary hand of the client.- Returns:
- the client's primary hand
- Since:
- 1.0.0
-
textFilteringEnabled
boolean textFilteringEnabled()Gets the text filtering setting of the client.- Returns:
- whether the client has text filtering enabled.
- Since:
- 1.0.0
-
serverListingsAllowed
boolean serverListingsAllowed()Gets the server listings setting of the client.- Returns:
- whether the client allow server listings.
- Since:
- 1.0.0
-