Class CampfireLitEvent

java.lang.Object
org.bukkit.event.Event
dev.lone.itemsadder.api.Events.campfire.CampfireLitEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class CampfireLitEvent 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
    CampfireLitEvent(@NotNull org.bukkit.block.Campfire campfire, @NotNull org.bukkit.entity.Player player)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.block.Campfire
     
    @NotNull org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
     
    boolean
     
    void
    setCancelled(boolean b)
     

    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

    • CampfireLitEvent

      public CampfireLitEvent(@NotNull @NotNull org.bukkit.block.Campfire campfire, @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
    • getCampfire

      public org.bukkit.block.Campfire getCampfire()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()