public class PlayerChangedMainHandEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description | 
|---|---|
| PlayerChangedMainHandEvent(@NotNull Player who,
                          @NotNull MainHand mainHand) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static @NotNull HandlerList | getHandlerList() | |
| @NotNull HandlerList | getHandlers() | |
| @NotNull MainHand | getMainHand() | Gets the new main hand of the player. | 
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayer@NotNull public @NotNull MainHand getMainHand()
HumanEntity.getMainHand().MainHand of the player@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.