Interface PlayerSettings
public interface PlayerSettings
Represents the settings of the player.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The possible chat modes.static enum
The possible primary hands. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the chat color setting of the client.@NotNull PlayerSettings.ChatMode
chatMode()
Gets the chat mode setting of the client.@NotNull Locale
locale()
Gets theLocale
of the client.@NotNull PlayerSettings.Hand
mainHand()
Gets the primary hand of the client.boolean
Gets the server listings setting of the client.int
Gets the skin parts of the client.boolean
Gets the text filtering setting of the client.byte
Gets the view distance of the client.
-
Method Details
-
locale
Gets theLocale
of 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
-