public class PlayerClientOptionsChangeEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description |
|---|---|
PlayerClientOptionsChangeEvent(Player player,
String locale,
int viewDistance,
ClientOption.ChatVisibility chatVisibility,
boolean chatColors,
SkinParts skinParts,
MainHand mainHand) |
| Modifier and Type | Method | Description |
|---|---|---|
ClientOption.ChatVisibility |
getChatVisibility() |
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
String |
getLocale() |
|
MainHand |
getMainHand() |
|
SkinParts |
getSkinParts() |
|
int |
getViewDistance() |
|
boolean |
hasChatColorsEnabled() |
|
boolean |
hasChatColorsEnabledChanged() |
|
boolean |
hasChatVisibilityChanged() |
|
boolean |
hasLocaleChanged() |
|
boolean |
hasMainHandChanged() |
|
boolean |
hasSkinPartsChanged() |
|
boolean |
hasViewDistanceChanged() |
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayerpublic boolean hasLocaleChanged()
public int getViewDistance()
public boolean hasViewDistanceChanged()
@NotNull public ClientOption.ChatVisibility getChatVisibility()
public boolean hasChatVisibilityChanged()
public boolean hasChatColorsEnabled()
public boolean hasChatColorsEnabledChanged()
public boolean hasSkinPartsChanged()
public boolean hasMainHandChanged()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.