public class PlayerArmorStandManipulateEvent extends PlayerInteractEntityEvent
Event.Result
clickedEntity
player
コンストラクタと説明 |
---|
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()
Gets the entity that was rightclicked by the player.
|
EquipmentSlot |
getSlot()
Returns the raw item slot of the armor stand in this event.
|
getHand, isCancelled, setCancelled
getPlayer
getEventName, isAsynchronous
public PlayerArmorStandManipulateEvent(Player who, ArmorStand clickedEntity, ItemStack playerItem, ItemStack armorStandItem, EquipmentSlot slot)
public ItemStack getPlayerItem()
public ItemStack getArmorStandItem()
public EquipmentSlot getSlot()
public ArmorStand getRightClicked()
PlayerInteractEntityEvent
getRightClicked
クラス内 PlayerInteractEntityEvent
public HandlerList getHandlers()
getHandlers
クラス内 PlayerInteractEntityEvent
public static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.