Class ExprMetadataValueOfProduct

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<String>
dk.minepay.server.bukkit.hooks.skript.expressions.product.ExprMetadataValueOfProduct
All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.Expression<String>, ch.njol.skript.lang.SyntaxElement

public class ExprMetadataValueOfProduct extends ch.njol.skript.lang.util.SimpleExpression<String>
Metadata value of product expression.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new metadata value of product expression.
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<?>[]
    acceptChange(ch.njol.skript.classes.Changer.ChangeMode mode)
     
    void
    change(org.bukkit.event.Event event, Object[] delta, ch.njol.skript.classes.Changer.ChangeMode mode)
     
    protected String[]
    get(org.bukkit.event.Event e)
     
    Class<? extends String>
     
    boolean
    init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult)
     
    boolean
     
    toString(org.bukkit.event.Event event, boolean debug)
     

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

    check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, setTime, setTime, setTime, setTime, setTime, simplify, 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.Expression

    beforeChange, canBeSingle, canReturn, changeInPlace, changeInPlace, getAcceptedChangeModes, getOptionalSingle, possibleReturnTypes, stream

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

    getParser
  • Constructor Details

    • ExprMetadataValueOfProduct

      public ExprMetadataValueOfProduct()
      Creates a new metadata value of product expression.
  • Method Details

    • get

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

      public boolean isSingle()
    • getReturnType

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

      public String toString(org.bukkit.event.Event event, boolean debug)
    • init

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

      public Class<?>[] acceptChange(ch.njol.skript.classes.Changer.ChangeMode mode)
      Specified by:
      acceptChange in interface ch.njol.skript.lang.Expression<String>
      Overrides:
      acceptChange in class ch.njol.skript.lang.util.SimpleExpression<String>
    • change

      public void change(org.bukkit.event.Event event, Object[] delta, ch.njol.skript.classes.Changer.ChangeMode mode)
      Specified by:
      change in interface ch.njol.skript.lang.Expression<String>
      Overrides:
      change in class ch.njol.skript.lang.util.SimpleExpression<String>