| Package | Description | 
|---|---|
| org.bukkit.event | Classes dedicated to handling triggered code executions. | 
| org.bukkit.event.inventory | |
| org.bukkit.event.player | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Event.Result | Event.Result. valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static Event.Result[] | Event.Result. values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Event.Result | InventoryInteractEvent. getResult() | Gets the  Event.Resultof this event. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | InventoryInteractEvent. setResult(Event.Result newResult) | Sets the result of this event. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Event.Result | PlayerBedEnterEvent. useBed() | This controls the action to take with the bed that was clicked on. | 
| Event.Result | PlayerInteractEvent. useInteractedBlock() | This controls the action to take with the block (if any) that was
 clicked on. | 
| Event.Result | PlayerInteractEvent. useItemInHand() | This controls the action to take with the item the player is holding. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | PlayerBedEnterEvent. setUseBed(Event.Result useBed) | Sets the action to take with the interacted bed. | 
| void | PlayerInteractEvent. setUseInteractedBlock(Event.Result useInteractedBlock) | |
| void | PlayerInteractEvent. setUseItemInHand(Event.Result useItemInHand) | 
Copyright © 2020. All rights reserved.