public class PlayerToggleSprintEvent extends PlayerEvent implements Cancellable
| Constructor and Description |
|---|
PlayerToggleSprintEvent(Player player,
boolean toggle) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(boolean cancelled) |
boolean |
isIgnored() |
boolean |
sprintOff() |
boolean |
sprintOn() |
playerpublic PlayerToggleSprintEvent(Player player, boolean toggle)
public boolean sprintOn()
public boolean sprintOff()
public boolean isIgnored()
isIgnored in interface Cancellablepublic void cancel(boolean cancelled)
cancel in interface Cancellablecancelled - set the cancellation state of the eventCopyright © 2016. All rights reserved.