Class PlayerClientOptionsChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.destroystokyo.paper.event.player.PlayerClientOptionsChangeEvent
Called when the player changes his client settings
-
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerList
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerClientOptionsChangeEvent
-
-
Method Details
-
getLocale
-
hasLocaleChanged
public boolean hasLocaleChanged() -
getViewDistance
public int getViewDistance() -
hasViewDistanceChanged
public boolean hasViewDistanceChanged() -
getChatVisibility
-
hasChatVisibilityChanged
public boolean hasChatVisibilityChanged() -
hasChatColorsEnabled
public boolean hasChatColorsEnabled() -
hasChatColorsEnabledChanged
public boolean hasChatColorsEnabledChanged() -
getSkinParts
-
hasSkinPartsChanged
public boolean hasSkinPartsChanged() -
getMainHand
-
hasMainHandChanged
public boolean hasMainHandChanged() -
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-