public class PlayerChangedMainHandEvent extends PlayerEvent
Event.Result
player
构造器和说明 |
---|
PlayerChangedMainHandEvent(Player who,
MainHand mainHand) |
限定符和类型 | 方法和说明 |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
MainHand |
getMainHand()
获取玩家的新主手.旧的主手依然可以在此期间通过
HumanEntity.getMainHand() 获取到. |
getPlayer
getEventName, isAsynchronous
public MainHand getMainHand()
HumanEntity.getMainHand()
获取到.
原文:Gets the new main hand of the player. The old hand is still momentarily
available via HumanEntity.getMainHand()
.
MainHand
public HandlerList getHandlers()
getHandlers
在类中 Event
public static HandlerList getHandlerList()