Class EntityCombustedByBlockEvent
java.lang.Object
org.bukkit.event.Event
ua.mcchickenstudio.opencreative.coding.blocks.events.WorldEvent
ua.mcchickenstudio.opencreative.coding.blocks.events.entity.fighting.EntityCombustedByBlockEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable, BlockEvent
public final class EntityCombustedByBlockEvent
extends WorldEvent
implements org.bukkit.event.Cancellable, BlockEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionEntityCombustedByBlockEvent(org.bukkit.event.entity.EntityCombustByBlockEvent event) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.block.BlockgetBlock()Returns block involved in block event.booleanvoidsetCancelled(boolean cancelled) Methods inherited from class WorldEvent
getHandlerList, getHandlers, getPlanet, getSelection, getWorldMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityCombustedByBlockEvent
public EntityCombustedByBlockEvent(org.bukkit.event.entity.EntityCombustByBlockEvent event)
-
-
Method Details
-
getBlock
@NotNull public @NotNull org.bukkit.block.Block getBlock()Description copied from interface:BlockEventReturns block involved in block event.- Specified by:
getBlockin interfaceBlockEvent- Returns:
- block from event.
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable
-