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
ConstructorsConstructorDescriptionCampfireLitEvent
(@NotNull org.bukkit.block.Campfire campfire, @NotNull org.bukkit.entity.Player player) -
Method Summary
Modifier and TypeMethodDescriptionorg.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
-
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 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
-
getCampfire
public org.bukkit.block.Campfire getCampfire() -
getPlayer
public org.bukkit.entity.Player getPlayer()
-