|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Event.Result | |
---|---|
org.bukkit.event | Classes dedicated to handling triggered code executions. |
org.bukkit.event.inventory | Events relating to inventory manipulation. |
org.bukkit.event.player | Events relating to players . |
Uses of Event.Result in org.bukkit.event |
---|
Methods in org.bukkit.event that return Event.Result | |
---|---|
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. |
Uses of Event.Result in org.bukkit.event.inventory |
---|
Methods in org.bukkit.event.inventory that return Event.Result | |
---|---|
Event.Result |
InventoryInteractEvent.getResult()
Gets the Event.Result of this event. |
Methods in org.bukkit.event.inventory with parameters of type Event.Result | |
---|---|
void |
InventoryInteractEvent.setResult(Event.Result newResult)
Sets the result of this event. |
Uses of Event.Result in org.bukkit.event.player |
---|
Methods in org.bukkit.event.player that return Event.Result | |
---|---|
Event.Result |
PlayerInteractEvent.useInteractedBlock()
This controls the action to take with the block (if any) that was clicked on This event gets processed for all blocks, but most don't have a default action |
Event.Result |
PlayerInteractEvent.useItemInHand()
This controls the action to take with the item the player is holding This includes both blocks and items (such as flint and steel or records) When this is set to default, it will be allowed if no action is taken on the interacted block |
Methods in org.bukkit.event.player with parameters of type Event.Result | |
---|---|
void |
PlayerInteractEvent.setUseInteractedBlock(Event.Result useInteractedBlock)
|
void |
PlayerInteractEvent.setUseItemInHand(Event.Result useItemInHand)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |