Class CampfirePutItemEvent
java.lang.Object
org.bukkit.event.Event
dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CampfirePutItemEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionCampfirePutItemEvent
(@NotNull org.bukkit.block.Campfire campfire, @NotNull org.bukkit.inventory.ItemStack item, @NotNull org.bukkit.entity.Player player) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.block.Campfire
static org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
org.bukkit.inventory.ItemStack
getItem()
org.bukkit.entity.Player
boolean
void
setCancelled
(boolean b) void
setItem
(org.bukkit.inventory.ItemStack item) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
CampfirePutItemEvent
public CampfirePutItemEvent(@NotNull @NotNull org.bukkit.block.Campfire campfire, @NotNull @NotNull org.bukkit.inventory.ItemStack item, @NotNull @NotNull org.bukkit.entity.Player player)
-
-
Method Details
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getPlayer
public org.bukkit.entity.Player getPlayer() -
getItem
public org.bukkit.inventory.ItemStack getItem() -
setItem
public void setItem(org.bukkit.inventory.ItemStack item) -
getCampfire
public org.bukkit.block.Campfire getCampfire()
-