public class PlayerChangedMainHandEvent extends PlayerEvent
Event.Result
player
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.
|
getPlayer
callEvent, getEventName, isAsynchronous
public MainHand getMainHand()
HumanEntity.getMainHand()
.MainHand
of the playerpublic HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.