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
  • 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: BlockEvent
      Returns block involved in block event.
      Specified by:
      getBlock in interface BlockEvent
      Returns:
      block from event.
    • isCancelled

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

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable