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