Class PasteEvent
java.lang.Object
com.sk89q.worldedit.event.Event
com.fastasyncworldedit.core.event.extent.PasteEvent
- All Implemented Interfaces:
Cancellable
-
Constructor Summary
ConstructorsConstructorDescriptionPasteEvent
(Actor actor, Clipboard clipboard, URI uri, Extent extent, BlockVector3 to) -
Method Summary
Modifier and TypeMethodDescriptionclone
(EditSession.Stage stage) Create a clone of this event with the given stage.getActor()
getURI()
boolean
Returns whether the event has been cancelled.void
setCancelled
(boolean cancelled) Set whether the event has been cancelled.
-
Constructor Details
-
PasteEvent
-
-
Method Details
-
getActor
-
getClipboard
-
getURI
-
getPosition
-
getExtent
-
isCancelled
public boolean isCancelled()Description copied from interface:Cancellable
Returns whether the event has been cancelled.- Specified by:
isCancelled
in interfaceCancellable
- 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 interfaceCancellable
- Parameters:
cancelled
- true if cancelled
-
clone
Create a clone of this event with the given stage.- Parameters:
stage
- the stage- Returns:
- a new event
-