Class IConditionValidator
java.lang.Object
studio.magemonkey.codex.util.actions.Parametized
studio.magemonkey.codex.util.actions.conditions.IConditionValidator
- Direct Known Subclasses:
Condition_EntityHealth,Condition_EntityType,Condition_Permission,Condition_VaultBalance,Condition_WorldTime
-
Field Summary
Fields inherited from class studio.magemonkey.codex.util.actions.Parametized
FLAG_NO_DELAY, key, params, plugin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanfinal booleanprocess(org.bukkit.entity.Entity exe, Map<String, Set<org.bukkit.entity.Entity>> targetMap, String fullStr) final booleanprocess(org.bukkit.entity.Entity exe, Map<String, Set<org.bukkit.entity.Entity>> targetMap, String fullStr, ActionManipulator manipulator) protected abstract Predicate<org.bukkit.entity.Entity> validate(org.bukkit.entity.Entity exe, Set<org.bukkit.entity.Entity> targets, IParamResult result) Methods inherited from class studio.magemonkey.codex.util.actions.Parametized
clearCache, getDescription, getKey, getParamResult, getParams, registerParam, registerParams
-
Constructor Details
-
IConditionValidator
-
-
Method Details
-
mustHaveTarget
public abstract boolean mustHaveTarget() -
validate
@Nullable protected abstract Predicate<org.bukkit.entity.Entity> validate(@NotNull org.bukkit.entity.Entity exe, @NotNull Set<org.bukkit.entity.Entity> targets, @NotNull IParamResult result) -
process
-
process
public final boolean process(@NotNull org.bukkit.entity.Entity exe, @NotNull Map<String, Set<org.bukkit.entity.Entity>> targetMap, @NotNull String fullStr, @Nullable ActionManipulator manipulator)
-