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

    Constructors
    Constructor
    Description
    CampfirePutItemEvent(@NotNull org.bukkit.block.Campfire campfire, @NotNull org.bukkit.inventory.ItemStack item, @NotNull org.bukkit.entity.Player player)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.block.Campfire
     
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     
    org.bukkit.inventory.ItemStack
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.bukkit.event.Event
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean b)
      Specified by:
      setCancelled in interface org.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()