Package | Description |
---|---|
org.bukkit.event.block | |
org.bukkit.event.player |
Modifier and Type | Method and Description |
---|---|
static Action |
Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
Action.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected Action |
PlayerInteractEvent.action |
Modifier and Type | Method and Description |
---|---|
@NotNull Action |
PlayerInteractEvent.getAction()
Returns the action type
|
Constructor and Description |
---|
PlayerInteractEvent(@NotNull Player who,
@NotNull Action action,
@Nullable ItemStack item,
@Nullable Block clickedBlock,
@NotNull BlockFace clickedFace) |
PlayerInteractEvent(@NotNull Player who,
@NotNull Action action,
@Nullable ItemStack item,
@Nullable Block clickedBlock,
@NotNull BlockFace clickedFace,
@Nullable EquipmentSlot hand) |
PlayerInteractEvent(@NotNull Player who,
@NotNull Action action,
@Nullable ItemStack item,
@Nullable Block clickedBlock,
@NotNull BlockFace clickedFace,
@Nullable EquipmentSlot hand,
@Nullable Location interactionPoint) |
Copyright © 2021. All rights reserved.