Interface SimpleExperimentalSyntax
- All Superinterfaces:
ExperimentalSyntax,SyntaxElement
- All Known Subinterfaces:
DamageSourceExperimentSyntax,EquippableExperimentSyntax,QueueExperimentSyntax,ReflectionExperimentSyntax
- All Known Implementing Classes:
CondEquipCompDamage,CondEquipCompDispensable,CondEquipCompInteract,CondEquipCompShearable,CondEquipCompSwapEquipment,CondScalesWithDifficulty,CondWasIndirect,EffEquipCompDamageable,EffEquipCompDispensable,EffEquipCompInteract,EffEquipCompShearable,EffEquipCompSwapEquipment,ExprCausingEntity,ExprDamageLocation,ExprDamageType,ExprDirectEntity,ExprEquipCompCameraOverlay,ExprEquipCompEntities,ExprEquipCompEquipSound,ExprEquipCompModel,ExprEquipCompShearSound,ExprEquipCompSlot,ExprEquippableComponent,ExprFoodExhaustion,ExprSecBlankEquipComp,ExprSecDamageSource,ExprSourceLocation
An
ExperimentalSyntax utilizing ExperimentData to ensure the set requirements are met.-
Method Summary
Modifier and TypeMethodDescriptionTheExperimentDataused to check that the currentExperimentSetmeets the requirements.default booleanisSatisfiedBy(ExperimentSet experimentSet) Checks whether the activeExperiments 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:ExperimentalSyntaxChecks whether the activeExperiments satisfy the requirements of this syntax.- Specified by:
isSatisfiedByin interfaceExperimentalSyntax- Parameters:
experimentSet- AnExperimentSetinstance containing currently activeExperiments in the environment.- Returns:
trueif thisSyntaxElementcan be used.
-
getExperimentData
ExperimentData getExperimentData()TheExperimentDataused to check that the currentExperimentSetmeets the requirements.
-