Class PasteEvent

java.lang.Object
org.bukkit.event.Event
de.eldoria.schematicbrush.event.PasteEvent
Direct Known Subclasses:
PostPasteEvent, PrePasteEvent

public class PasteEvent extends Event
A paste event. The event may be asynchronous.
  • Field Details

  • Constructor Details

    • PasteEvent

      public PasteEvent(@NotNull @NotNull Player who, BrushPaste paste)
  • Method Details

    • getHandlerList

      public static HandlerList getHandlerList()
    • player

      public Player player()
      Player who pasted
      Returns:
      player
    • schematic

      public Schematic schematic()
      The pasted schematic
      Returns:
      schematic
    • schematicSet

      public SchematicSet schematicSet()
      The schematic set which contains the schematic
      Returns:
      schematic set
      Since:
      2.0.2
    • paste

      public BrushPaste paste()
      The brush paste which contains the paste parameter
      Returns:
      brush paste
      Since:
      2.1.2
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event