Class PlayerLocaleChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.destroystokyo.paper.event.player.PlayerLocaleChangeEvent
Deprecated.
Called when the locale of the player is changed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player -
Constructor Summary
ConstructorsConstructorDescriptionPlayerLocaleChangeEvent(Player player, String oldLocale, String newLocale) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListDeprecated.Deprecated.Deprecated.Gets the locale the player is changed to.Deprecated.Gets the locale the player switched from.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayerMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerLocaleChangeEvent
Deprecated.
-
-
Method Details
-
getOldLocale
Deprecated.Gets the locale the player switched from.- Returns:
- player's old locale
-
getNewLocale
Deprecated.Gets the locale the player is changed to.- Returns:
- player's new locale
-
getHandlers
Deprecated.- Specified by:
getHandlersin classEvent
-
getHandlerList
Deprecated.
-
PlayerLocaleChangeEventupstream