public class InventoryPickupArrowEvent extends Object implements InventoryEvent, Cancellable
| Constructor and Description |
|---|
InventoryPickupArrowEvent(Inventory inventory,
Arrow arrow) |
| Modifier and Type | Method and Description |
|---|---|
Arrow |
getArrow() |
Inventory |
getInventory() |
boolean |
isCancelled()
Whether or not to cancel the event.
|
void |
setCancelled(boolean cancelled)
Decides whether to cancel the event.
|
public Arrow getArrow()
public Inventory getInventory()
getInventory in interface InventoryEventpublic boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancelled)
CancellablesetCancelled in interface Cancellablecancelled - true to cancel the event.Copyright © 2017–2018 NukkitX. All rights reserved.