Uses of Class
org.bukkit.event.Event.Result
-
Packages that use Event.Result Package Description org.bukkit.event Classes dedicated to handling triggered code executions.org.bukkit.event.inventory org.bukkit.event.player -
-
Uses of Event.Result in org.bukkit.event
Methods in org.bukkit.event that return Event.Result Modifier and Type Method Description static Event.ResultEvent.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 Modifier and Type Method Description @NotNull Event.ResultInventoryInteractEvent. getResult()Gets theEvent.Resultof this event.Methods in org.bukkit.event.inventory with parameters of type Event.Result Modifier and Type Method Description voidInventoryInteractEvent. setResult(@NotNull 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 Modifier and Type Method Description @NotNull Event.ResultPlayerBedEnterEvent. useBed()This controls the action to take with the bed that was clicked on.@NotNull Event.ResultPlayerInteractEvent. useInteractedBlock()This controls the action to take with the block (if any) that was clicked on.@NotNull Event.ResultPlayerInteractEvent. useItemInHand()This controls the action to take with the item the player is holding.Methods in org.bukkit.event.player with parameters of type Event.Result Modifier and Type Method Description voidPlayerBedEnterEvent. setUseBed(@NotNull Event.Result useBed)Sets the action to take with the interacted bed.voidPlayerInteractEvent. setUseInteractedBlock(@NotNull Event.Result useInteractedBlock)voidPlayerInteractEvent. setUseItemInHand(@NotNull Event.Result useItemInHand)
-