Class ExprGraveAmount

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Number>
dev.cwhead.GravesX.event.integration.skript.expressions.ExprGraveAmount
All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.Expression<Number>, ch.njol.skript.lang.Loopable<Number>, ch.njol.skript.lang.simplification.Simplifiable<ch.njol.skript.lang.Expression<? extends Number>>, ch.njol.skript.lang.SyntaxElement, org.skriptlang.skript.log.runtime.RuntimeErrorProducer, org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer

@Name("GravesX Grave Amount") @Description("Gets the amount of graves through the GravesX grave management API.") @Examples({"broadcast \"There are %amount of graves% loaded graves.\"","broadcast \"You have %amount of graves of player% graves.\""}) public class ExprGraveAmount extends ch.njol.skript.lang.util.SimpleExpression<Number>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class ch.njol.skript.lang.util.SimpleExpression

    acceptChange, change, check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, setTime, simplify, supportsLoopPeeking, toString

    Methods inherited from class Object

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

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

    beforeChange, canBeSingle, canReturn, canReturnAnyOf, changeInPlace, changeInPlace, getAcceptedChangeModes, getOptionalSingle, getSyntaxTypeName, possibleReturnTypes, returnNestedStructures, returnsNestedStructures, stream, streamAll

    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

    • ExprGraveAmount

      public ExprGraveAmount()
  • 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)
    • get

      @Nullable protected @Nullable Number[] get(org.bukkit.event.Event event)
      Specified by:
      get in class ch.njol.skript.lang.util.SimpleExpression<Number>
    • isSingle

      public boolean isSingle()
    • getReturnType

      public Class<? extends Number> getReturnType()
    • toString

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