Cancellablepublic class PlayerArmorStandManipulateEvent extends PlayerInteractEntityEvent
Event.ResultplayerclickedEntity| Constructor | Description |
|---|---|
PlayerArmorStandManipulateEvent(@NotNull Player who,
@NotNull ArmorStand clickedEntity,
@NotNull ItemStack playerItem,
@NotNull ItemStack armorStandItem,
@NotNull EquipmentSlot slot) |
| Modifier and Type | Method | 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.
|
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayergetHand, isCancelled, setCancelledpublic 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 © 2020. All rights reserved.