public class PlayerClientOptionsChangeEvent extends PlayerEvent
Event.Result
player
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() |
getPlayer
callEvent, getEventName, isAsynchronous
public 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)
public boolean hasLocaleChanged()
public int getViewDistance()
public boolean hasViewDistanceChanged()
@NotNull public @NotNull ClientOption.ChatVisibility getChatVisibility()
public boolean hasChatVisibilityChanged()
public boolean hasChatColorsEnabled()
public boolean hasChatColorsEnabledChanged()
public boolean hasSkinPartsChanged()
public boolean hasMainHandChanged()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.