Interface ExperimentalSyntax
- All Superinterfaces:
SyntaxElement
A syntax element that requires an experimental feature to be enabled.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSatisfiedBy
(ExperimentSet experimentSet) Checks whether the required experiments are enabled for this syntax element.Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser, getSyntaxTypeName, init
-
Method Details
-
isSatisfiedBy
Checks whether the required experiments are enabled for this syntax element.- Parameters:
experimentSet
- AnExperiment
instance containing currently active experiments in the environment.- Returns:
true
if the element can be used.
-