Class PasteEvent

java.lang.Object
com.sk89q.worldedit.event.Event
com.fastasyncworldedit.core.event.extent.PasteEvent
All Implemented Interfaces:
Cancellable

public class PasteEvent extends Event implements Cancellable
  • Constructor Details

  • Method Details

    • getActor

      public Actor getActor()
    • getClipboard

      public Clipboard getClipboard()
    • getURI

      public URI getURI()
    • getPosition

      public BlockVector3 getPosition()
    • getExtent

      public Extent getExtent()
    • isCancelled

      public boolean isCancelled()
      Description copied from interface: Cancellable
      Returns whether the event has been cancelled.
      Specified by:
      isCancelled in interface Cancellable
      Returns:
      true if cancelled
    • setCancelled

      public void setCancelled(boolean cancelled)
      Description copied from interface: Cancellable
      Set whether the event has been cancelled.
      Specified by:
      setCancelled in interface Cancellable
      Parameters:
      cancelled - true if cancelled
    • clone

      public PasteEvent clone(EditSession.Stage stage)
      Create a clone of this event with the given stage.
      Parameters:
      stage - the stage
      Returns:
      a new event