public class PlayerClientOptionsChangeEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
PlayerClientOptionsChangeEvent(@NotNull Player player,
@NotNull String locale,
int viewDistance,
@NotNull ClientOption.ChatVisibility chatVisibility,
boolean chatColors,
@NotNull SkinParts skinParts,
@NotNull MainHand mainHand) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ClientOption.ChatVisibility |
getChatVisibility() |
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
@NotNull String |
getLocale() |
@NotNull MainHand |
getMainHand() |
@NotNull SkinParts |
getSkinParts() |
int |
getViewDistance() |
boolean |
hasChatColorsEnabled() |
boolean |
hasChatColorsEnabledChanged() |
boolean |
hasChatVisibilityChanged() |
boolean |
hasLocaleChanged() |
boolean |
hasMainHandChanged() |
boolean |
hasSkinPartsChanged() |
boolean |
hasViewDistanceChanged() |
getPlayercallEvent, getEventName, isAsynchronouspublic PlayerClientOptionsChangeEvent(@NotNull
@NotNull Player player,
@NotNull
@NotNull String locale,
int viewDistance,
@NotNull
@NotNull ClientOption.ChatVisibility chatVisibility,
boolean chatColors,
@NotNull
@NotNull SkinParts skinParts,
@NotNull
@NotNull MainHand mainHand)
@NotNull public @NotNull String getLocale()
public boolean hasLocaleChanged()
public int getViewDistance()
public boolean hasViewDistanceChanged()
@NotNull public @NotNull ClientOption.ChatVisibility getChatVisibility()
public boolean hasChatVisibilityChanged()
public boolean hasChatColorsEnabled()
public boolean hasChatColorsEnabledChanged()
@NotNull public @NotNull SkinParts getSkinParts()
public boolean hasSkinPartsChanged()
@NotNull public @NotNull MainHand getMainHand()
public boolean hasMainHandChanged()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2022. All rights reserved.