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() |
player
public PlayerLaunchProjectileEvent(Player player, Entity projectile)
public boolean isIgnored()
isIgnored
in interface Cancellable
public void cancel(boolean cancelled)
cancel
in interface Cancellable
cancelled
- set the cancellation state of the eventpublic Entity projectile()
Copyright © 2016. All rights reserved.