Interface LocaleSource
-
- All Known Subinterfaces:
Client
,ClientPlayer
,CommandBlock
,CommandBlockMinecart
,LocalPlayer
,LocalServer
,Player
,RemotePlayer
,Server
,ServerPlayer
,SystemSubject
public interface LocaleSource
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Locale
locale()
Gets the locale of thisLocaleSource
.
-
-
-
Method Detail
-
locale
default Locale locale()
Gets the locale of thisLocaleSource
.If this receiver does not support configurable locales, this will return
Locales.DEFAULT
.- Returns:
- The locale used by this receiver.
-
-