Interface PlayerSettings


public interface PlayerSettings
Represents the settings of the player.
  • Method Details

    • locale

      @NotNull @NotNull Locale locale()
      Gets the Locale 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

      @NotNull @NotNull PlayerSettings.ChatMode 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

      @NotNull @NotNull PlayerSettings.Hand 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