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 their 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
ConstructorsConstructorDescriptionPlayerClientOptionsChangeEvent(Player player, Map<ClientOption<?>, ?> options) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic HandlerListintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class org.bukkit.event.player.PlayerEvent
getPlayerMethods 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() -
hasTextFilteringEnabled
public boolean hasTextFilteringEnabled() -
hasTextFilteringChanged
public boolean hasTextFilteringChanged() -
allowsServerListings
public boolean allowsServerListings() -
hasAllowServerListingsChanged
public boolean hasAllowServerListingsChanged() -
getParticleVisibility
-
hasParticleVisibilityChanged
public boolean hasParticleVisibilityChanged() -
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-