Interface LocaleSource

All Known Subinterfaces:
Client, ClientPlayer, CommandBlock, CommandBlockMinecart, LocalPlayer, LocalServer, Player, RemotePlayer, Server, ServerPlayer, SystemSubject

public interface LocaleSource
  • Method Summary

    Modifier and Type
    Method
    Description
    default Locale
    Gets the locale of this LocaleSource.
  • Method Details

    • locale

      default Locale locale()
      Gets the locale of this LocaleSource.

      If this receiver does not support configurable locales, this will return Locales.DEFAULT.

      Returns:
      The locale used by this receiver.