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