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
- Since:
- 1.15.2
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class PlayerEvent
player -
Constructor Summary
ConstructorsConstructorDescriptionPlayerClientOptionsChangeEvent(Player player, Map<ClientOption<?>, ?> options) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic HandlerListintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class PlayerEvent
getPlayerMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerClientOptionsChangeEvent
-
-
Method Details
-
getLocale
- Since:
- 1.15.2
-
hasLocaleChanged
public boolean hasLocaleChanged()- Since:
- 1.15.2
-
getViewDistance
public int getViewDistance()- Since:
- 1.15.2
-
hasViewDistanceChanged
public boolean hasViewDistanceChanged()- Since:
- 1.15.2
-
getChatVisibility
- Since:
- 1.15.2
-
hasChatVisibilityChanged
public boolean hasChatVisibilityChanged()- Since:
- 1.15.2
-
hasChatColorsEnabled
public boolean hasChatColorsEnabled()- Since:
- 1.15.2
-
hasChatColorsEnabledChanged
public boolean hasChatColorsEnabledChanged()- Since:
- 1.15.2
-
getSkinParts
- Since:
- 1.15.2
-
hasSkinPartsChanged
public boolean hasSkinPartsChanged()- Since:
- 1.15.2
-
getMainHand
- Since:
- 1.15.2
-
hasMainHandChanged
public boolean hasMainHandChanged()- Since:
- 1.15.2
-
hasTextFilteringEnabled
public boolean hasTextFilteringEnabled()- Since:
- 1.19.2
-
hasTextFilteringChanged
public boolean hasTextFilteringChanged()- Since:
- 1.19.2
-
allowsServerListings
public boolean allowsServerListings()- Since:
- 1.19.2
-
hasAllowServerListingsChanged
public boolean hasAllowServerListingsChanged()- Since:
- 1.19.2
-
getParticleVisibility
- Since:
- 1.21.3
-
hasParticleVisibilityChanged
public boolean hasParticleVisibilityChanged()- Since:
- 1.21.3
-
getHandlers
- Specified by:
getHandlersin classEvent- Since:
- 1.15.2
-
getHandlerList
- Since:
- 1.15.2
-