Package | Description |
---|---|
org.bukkit.event.block | |
org.bukkit.event.player |
Modifier and Type | Method | 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 | Description |
---|---|---|
protected Action |
PlayerInteractEvent.action |
Modifier and Type | Method | Description |
---|---|---|
@NotNull Action |
PlayerInteractEvent.getAction() |
Returns the action type
|
Constructor | 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) |
Copyright © 2020. All rights reserved.