Class EvtGravePistonExtend

java.lang.Object
org.skriptlang.skript.lang.structure.Structure
ch.njol.skript.lang.SkriptEvent
com.ranull.graves.event.integration.skript.EvtGravePistonExtend
All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.SyntaxElement

@Name("Grave Piston Move Event") @Description("Triggered when a player head is dropped at a grave site. Provides access to the entity, grave, and location.") @Examples({"on grave piston extend:","\tbroadcast \"Grave %event-grave% at location %event-location% extended by %event-piston-block%\""}) public class EvtGravePistonExtend extends ch.njol.skript.lang.SkriptEvent
  • Nested Class Summary

    Nested classes/interfaces inherited from class ch.njol.skript.lang.SkriptEvent

    ch.njol.skript.lang.SkriptEvent.ListeningBehavior

    Nested classes/interfaces inherited from class org.skriptlang.skript.lang.structure.Structure

    org.skriptlang.skript.lang.structure.Structure.Priority, org.skriptlang.skript.lang.structure.Structure.StructureData
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private ch.njol.skript.lang.Literal<org.bukkit.block.BlockFace>
     
    private ch.njol.skript.lang.Literal<org.bukkit.entity.Entity>
     
    private ch.njol.skript.lang.Literal<Grave>
     
    private ch.njol.skript.lang.Literal<org.bukkit.Location>
     
    private ch.njol.skript.lang.Literal<List<org.bukkit.block.Block>>
     
    private ch.njol.skript.lang.Literal<org.bukkit.block.Block>
     

    Fields inherited from class ch.njol.skript.lang.SkriptEvent

    eventPriority, listeningBehavior, PRIORITY, supportsListeningBehavior, trigger

    Fields inherited from class org.skriptlang.skript.lang.structure.Structure

    DEFAULT_PRIORITY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(org.bukkit.event.Event e)
     
    boolean
    init(ch.njol.skript.lang.Literal<?> @NotNull [] args, int matchedPattern, ch.njol.skript.lang.SkriptParser.ParseResult parseResult)
     
    toString(@Nullable org.bukkit.event.Event e, boolean debug)
     

    Methods inherited from class ch.njol.skript.lang.SkriptEvent

    canExecuteAsynchronously, fixPattern, getEventClasses, getEventPriority, getListeningBehavior, getPriority, init, isEventPrioritySupported, isListeningBehaviorSupported, load, parse, postLoad, postUnload, preLoad, shouldLoadEvent, unload

    Methods inherited from class org.skriptlang.skript.lang.structure.Structure

    getEntryContainer, getSyntaxTypeName, init, parse, parse, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ch.njol.skript.lang.SyntaxElement

    getParser
  • Field Details

    • entity

      private ch.njol.skript.lang.Literal<org.bukkit.entity.Entity> entity
    • grave

      private ch.njol.skript.lang.Literal<Grave> grave
    • location

      private ch.njol.skript.lang.Literal<org.bukkit.Location> location
    • pistonBlock

      private ch.njol.skript.lang.Literal<org.bukkit.block.Block> pistonBlock
    • direction

      private ch.njol.skript.lang.Literal<org.bukkit.block.BlockFace> direction
    • movedBlocks

      private ch.njol.skript.lang.Literal<List<org.bukkit.block.Block>> movedBlocks
  • Constructor Details

    • EvtGravePistonExtend

      public EvtGravePistonExtend()
  • Method Details

    • init

      public boolean init(ch.njol.skript.lang.Literal<?> @NotNull [] args, int matchedPattern, @NotNull ch.njol.skript.lang.SkriptParser.ParseResult parseResult)
      Specified by:
      init in class ch.njol.skript.lang.SkriptEvent
    • check

      public boolean check(org.bukkit.event.Event e)
      Specified by:
      check in class ch.njol.skript.lang.SkriptEvent
    • toString

      public String toString(@Nullable @Nullable org.bukkit.event.Event e, boolean debug)