public class BedwarsResourceSpawnEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
| Constructor and Description |
|---|
BedwarsResourceSpawnEvent(Game game,
org.bukkit.Location location,
org.bukkit.inventory.ItemStack resource) |
| Modifier and Type | Method and Description |
|---|---|
Game |
getGame() |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.Location |
getLocation() |
org.bukkit.inventory.ItemStack |
getResource() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
void |
setResource(org.bukkit.inventory.ItemStack resource) |
public BedwarsResourceSpawnEvent(Game game, org.bukkit.Location location, org.bukkit.inventory.ItemStack resource)
public static org.bukkit.event.HandlerList getHandlerList()
public Game getGame()
public org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Eventpublic org.bukkit.Location getLocation()
public org.bukkit.inventory.ItemStack getResource()
public void setResource(org.bukkit.inventory.ItemStack resource)
public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancel)
setCancelled in interface org.bukkit.event.CancellableCopyright © 2017. All rights reserved.