Interface SimpleExperimentalSyntax
- All Superinterfaces:
ExperimentalSyntax
,SyntaxElement
- All Known Subinterfaces:
DamageSourceExperimentSyntax
,QueueExperimentSyntax
,ReflectionExperimentSyntax
- All Known Implementing Classes:
CondScalesWithDifficulty
,CondWasIndirect
,ExprCausingEntity
,ExprDamageLocation
,ExprDamageType
,ExprDirectEntity
,ExprFoodExhaustion
,ExprSecDamageSource
,ExprSourceLocation
An
ExperimentalSyntax
utilizing ExperimentData
to ensure the set requirements are met.-
Method Summary
Modifier and TypeMethodDescriptionTheExperimentData
used to check that the currentExperimentSet
meets the requirements.default boolean
isSatisfiedBy
(ExperimentSet experimentSet) Checks whether the activeExperiment
s satisfy the requirements of this syntax.Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser, getSyntaxTypeName, init, preInit
-
Method Details
-
isSatisfiedBy
Description copied from interface:ExperimentalSyntax
Checks whether the activeExperiment
s satisfy the requirements of this syntax.- Specified by:
isSatisfiedBy
in interfaceExperimentalSyntax
- Parameters:
experimentSet
- AnExperimentSet
instance containing currently activeExperiment
s in the environment.- Returns:
true
if thisSyntaxElement
can be used.
-
getExperimentData
ExperimentData getExperimentData()TheExperimentData
used to check that the currentExperimentSet
meets the requirements.
-