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