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