Package dev.aurelium.slate.function
Interface LocaleProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
get
Gets the locale of a player. This is used in context objects likeMenuInfoto easily get the locale of a player.- Parameters:
player- the player- Returns:
- the locale
-