public class PlayerArmorStandManipulateEvent extends PlayerInteractEntityEvent
Event.ResultclickedEntityplayer| Constructor and Description | 
|---|
PlayerArmorStandManipulateEvent(Player who,
                               ArmorStand clickedEntity,
                               ItemStack playerItem,
                               ItemStack armorStandItem,
                               EquipmentSlot slot)  | 
| Modifier and Type | Method and Description | 
|---|---|
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()
Gets the entity that was right-clicked by the player. 
 | 
EquipmentSlot | 
getSlot()
Returns the raw item slot of the armor stand in this event. 
 | 
getHand, isCancelled, setCancelledgetPlayercallEvent, getEventName, isAsynchronouspublic PlayerArmorStandManipulateEvent(@NotNull
                                       Player who,
                                       @NotNull
                                       ArmorStand clickedEntity,
                                       @NotNull
                                       ItemStack playerItem,
                                       @NotNull
                                       ItemStack armorStandItem,
                                       @NotNull
                                       EquipmentSlot slot)
@NotNull public ItemStack getPlayerItem()
@NotNull public ItemStack getArmorStandItem()
@NotNull public EquipmentSlot getSlot()
@NotNull public ArmorStand getRightClicked()
PlayerInteractEntityEventgetRightClicked in class PlayerInteractEntityEvent@NotNull public HandlerList getHandlers()
getHandlers in class PlayerInteractEntityEvent@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.