public class PlayerClientOptionsChangeEvent extends PlayerEvent
Event.Result
player
Constructor | 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 | 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() |
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
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)
@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 © 2020. All rights reserved.