Class EffCreateGrave

java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Effect
dev.cwhead.GravesX.event.integration.skript.effects.EffCreateGrave
All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.SyntaxElement, org.skriptlang.skript.log.runtime.RuntimeErrorProducer, org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer

@Name("GravesX Create Grave") @Description("Creates a grave through the GravesX grave creation API.") @Examples({"create a grave for player","create a grave for player with 50 experience","create a grave for player with 50 experience lasting 600000 milliseconds","create a protected grave for player at player's location with 50 experience lasting 600000 milliseconds protected for 300000 milliseconds"}) public class EffCreateGrave extends ch.njol.skript.lang.Effect
  • Field Summary

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

    parent
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    execute(org.bukkit.event.Event event)
     
    boolean
    init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult)
     
    toString(@Nullable org.bukkit.event.Event event, boolean debug)
     

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

    getNode, getSyntaxTypeName, parse, preInit, run

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

    parse, parse

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

    debug, executionIntent, getActualNext, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walk

    Methods inherited from class Object

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

    Methods inherited from interface org.skriptlang.skript.log.runtime.RuntimeErrorProducer

    error, error, getRuntimeErrorManager, warning, warning

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

    getParser

    Methods inherited from interface org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer

    getErrorSource
  • Constructor Details

    • EffCreateGrave

      public EffCreateGrave()
  • Method Details

    • init

      public boolean init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult)
    • execute

      protected void execute(org.bukkit.event.Event event)
      Specified by:
      execute in class ch.njol.skript.lang.Effect
    • toString

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