Package | Description |
---|---|
org.bukkit.event.block | |
org.bukkit.event.player | |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Field | Description |
---|---|---|
protected EquipmentSlot |
BlockPlaceEvent.hand |
Modifier and Type | Method | Description |
---|---|---|
EquipmentSlot |
BlockPlaceEvent.getHand() |
Gets the hand which placed the block
|
Constructor | Description |
---|---|
BlockPlaceEvent(Block placedBlock,
BlockState replacedBlockState,
Block placedAgainst,
ItemStack itemInHand,
Player thePlayer,
boolean canBuild,
EquipmentSlot hand) |
Modifier and Type | Method | Description |
---|---|---|
EquipmentSlot |
PlayerInteractEntityEvent.getHand() |
The hand used to perform this interaction.
|
EquipmentSlot |
PlayerInteractEvent.getHand() |
The hand used to perform this interaction.
|
EquipmentSlot |
PlayerArmorStandManipulateEvent.getSlot() |
Returns the raw item slot of the armor stand in this event.
|
Constructor | Description |
---|---|
PlayerArmorStandManipulateEvent(Player who,
ArmorStand clickedEntity,
ItemStack playerItem,
ItemStack armorStandItem,
EquipmentSlot slot) |
|
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position,
EquipmentSlot hand) |
|
PlayerInteractEntityEvent(Player who,
Entity clickedEntity,
EquipmentSlot hand) |
|
PlayerInteractEvent(Player who,
Action action,
ItemStack item,
Block clickedBlock,
BlockFace clickedFace,
EquipmentSlot hand) |
Modifier and Type | Method | Description |
---|---|---|
static EquipmentSlot |
EquipmentSlot.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EquipmentSlot[] |
EquipmentSlot.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018. All rights reserved.