Interface Cancellable

All Superinterfaces:
Event
All Known Subinterfaces:
BlockChangeEvent.Break.Pre, BlockChangeEvent.Break.Pre.ByExplosion, BlockChangeEvent.Break.Pre.ByPlayer, BlockChangeEvent.Place.ByPlayer, EntityDeathEvent<E>, EntityInteractEvent<E>, EntityInteractEvent.WithBlock<E>, EntityInteractEvent.WithBlock.AsPlayer, EntityMoveEvent<E>, EntityMoveEvent.AsPlayer, EntitySpawnEvent, SignChangeEvent, SignChangeEvent.ByPlayer

public interface Cancellable extends Event
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    setCancelled​(boolean value)
     
  • Method Details

    • isCancelled

      boolean isCancelled()
    • setCancelled

      void setCancelled(boolean value)