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 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.
-