| 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 | 
|---|---|---|
| Action | PlayerInteractEvent. getAction() | Returns the action type | 
| Constructor | Description | 
|---|---|
| PlayerInteractEvent(Player who,
                   Action action,
                   ItemStack item,
                   Block clickedBlock,
                   BlockFace clickedFace) | |
| PlayerInteractEvent(Player who,
                   Action action,
                   ItemStack item,
                   Block clickedBlock,
                   BlockFace clickedFace,
                   EquipmentSlot hand) | 
Copyright © 2020. All rights reserved.