public class PlayerArmorStandManipulateEvent extends PlayerInteractEntityEvent
Event.ResultclickedEntityplayer| 构造器和说明 |
|---|
PlayerArmorStandManipulateEvent(Player who,
ArmorStand clickedEntity,
ItemStack playerItem,
ItemStack armorStandItem,
EquipmentSlot slot) |
| 限定符和类型 | 方法和说明 |
|---|---|
ItemStack |
getArmorStandItem()
Returns the item held by the armor stand.
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
ItemStack |
getPlayerItem()
Returns the item held by the player.
|
ArmorStand |
getRightClicked()
获取被玩家点击的实体.
|
EquipmentSlot |
getSlot()
Returns the raw item slot of the armor stand in this event.
|
getHand, isCancelled, setCancelledgetPlayergetEventName, isAsynchronouspublic PlayerArmorStandManipulateEvent(Player who, ArmorStand clickedEntity, ItemStack playerItem, ItemStack armorStandItem, EquipmentSlot slot)
public ItemStack getPlayerItem()
public ItemStack getArmorStandItem()
public EquipmentSlot getSlot()
public ArmorStand getRightClicked()
PlayerInteractEntityEvent原文:Gets the entity that was rightclicked by the player.
getRightClicked 在类中 PlayerInteractEntityEventpublic HandlerList getHandlers()
getHandlers 在类中 PlayerInteractEntityEventpublic static HandlerList getHandlerList()