Interface OperatorCriterion
- All Superinterfaces:
- AdvancementCriterion,- Nameable
- All Known Subinterfaces:
- AndCriterion,- OrCriterion
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.spongepowered.api.advancement.criteria.AdvancementCriterionAdvancementCriterion.BaseBuilder<T extends AdvancementCriterion,B extends AdvancementCriterion.BaseBuilder<T, B>>, AdvancementCriterion.Builder, AdvancementCriterion.Factory 
- 
Method SummaryModifier and TypeMethodDescriptioncriteria()Gets the childrenAdvancementCriterions of thisOperatorCriterion.Attempts to find all the childrenAdvancementCriterions with the specified name.Attempts to find the first childAdvancementCriterionwith the specified name.Gets the leafAdvancementCriterions.
- 
Method Details- 
findAttempts to find all the childrenAdvancementCriterions with the specified name. The children will be checked recursively.- Parameters:
- name- The name
- Returns:
- The criteria
 
- 
findFirstAttempts to find the first childAdvancementCriterionwith the specified name. The children will be checked recursively, but direct children are prioritized.- Parameters:
- name- The name
- Returns:
- The criterion
 
- 
criteriaCollection<AdvancementCriterion> criteria()- Returns:
- The criteria
 
- 
leafCriteriaCollection<AdvancementCriterion> leafCriteria()Gets the leafAdvancementCriterions. This means that there will never be anyOperatorCriterions in this list.- Returns:
- The leaf criteria
 
 
-