| Package | Description |
|---|---|
| org.bukkit.attribute | |
| org.bukkit.event.block | |
| org.bukkit.event.player | |
| org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
| org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks. |
| Modifier and Type | Method and Description |
|---|---|
EquipmentSlot |
AttributeModifier.getSlot()
Get the
EquipmentSlot this AttributeModifier is active on,
or null if this modifier is applicable for any slot. |
EquipmentSlot |
AttributeModifier.getSlot()
Get the
EquipmentSlot this AttributeModifier is active on,
or null if this modifier is applicable for any slot. |
| Constructor and Description |
|---|
AttributeModifier(UUID uuid,
String name,
double amount,
AttributeModifier.Operation operation,
EquipmentSlot slot) |
AttributeModifier(UUID uuid,
String name,
double amount,
AttributeModifier.Operation operation,
EquipmentSlot slot) |
| Modifier and Type | Field and Description |
|---|---|
protected EquipmentSlot |
BlockPlaceEvent.hand |
protected EquipmentSlot |
BlockPlaceEvent.hand |
| Modifier and Type | Method and Description |
|---|---|
EquipmentSlot |
BlockPlaceEvent.getHand()
Gets the hand which placed the block
|
EquipmentSlot |
BlockPlaceEvent.getHand()
Gets the hand which placed the block
|
| Constructor and Description |
|---|
BlockPlaceEvent(Block placedBlock,
BlockState replacedBlockState,
Block placedAgainst,
ItemStack itemInHand,
Player thePlayer,
boolean canBuild,
EquipmentSlot hand) |
BlockPlaceEvent(Block placedBlock,
BlockState replacedBlockState,
Block placedAgainst,
ItemStack itemInHand,
Player thePlayer,
boolean canBuild,
EquipmentSlot hand) |
| Modifier and Type | Method and Description |
|---|---|
EquipmentSlot |
PlayerInteractEntityEvent.getHand()
The hand used to perform this interaction.
|
EquipmentSlot |
PlayerInteractEvent.getHand()
The hand used to perform this interaction.
|
EquipmentSlot |
PlayerInteractEvent.getHand()
The hand used to perform this interaction.
|
EquipmentSlot |
PlayerInteractEntityEvent.getHand()
The hand used to perform this interaction.
|
EquipmentSlot |
PlayerArmorStandManipulateEvent.getSlot()
Returns the raw item slot of the armor stand in this event.
|
EquipmentSlot |
PlayerArmorStandManipulateEvent.getSlot()
Returns the raw item slot of the armor stand in this event.
|
| Constructor and Description |
|---|
PlayerArmorStandManipulateEvent(Player who,
ArmorStand clickedEntity,
ItemStack playerItem,
ItemStack armorStandItem,
EquipmentSlot slot) |
PlayerArmorStandManipulateEvent(Player who,
ArmorStand clickedEntity,
ItemStack playerItem,
ItemStack armorStandItem,
EquipmentSlot slot) |
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position,
EquipmentSlot hand) |
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position,
EquipmentSlot hand) |
PlayerInteractEntityEvent(Player who,
Entity clickedEntity,
EquipmentSlot hand) |
PlayerInteractEntityEvent(Player who,
Entity clickedEntity,
EquipmentSlot hand) |
PlayerInteractEvent(Player who,
Action action,
ItemStack item,
Block clickedBlock,
BlockFace clickedFace,
EquipmentSlot hand) |
PlayerInteractEvent(Player who,
Action action,
ItemStack item,
Block clickedBlock,
BlockFace clickedFace,
EquipmentSlot hand) |
| Modifier and Type | Method and Description |
|---|---|
static EquipmentSlot |
EquipmentSlot.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EquipmentSlot |
EquipmentSlot.valueOf(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.
|
static EquipmentSlot[] |
EquipmentSlot.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<Attribute,AttributeModifier> |
ItemMeta.getAttributeModifiers(EquipmentSlot slot)
|
com.google.common.collect.Multimap<Attribute,AttributeModifier> |
ItemMeta.getAttributeModifiers(EquipmentSlot slot)
|
boolean |
ItemMeta.removeAttributeModifier(EquipmentSlot slot)
|
boolean |
ItemMeta.removeAttributeModifier(EquipmentSlot slot)
|
Copyright © 2022. All rights reserved.