public class PlayerChangedMainHandEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
PlayerChangedMainHandEvent(Player who,
MainHand mainHand) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
MainHand |
getMainHand()
Gets the new main hand of the player.
|
getPlayergetEventName, isAsynchronous@NotNull public MainHand getMainHand()
HumanEntity.getMainHand().MainHand of the player@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.