Interface OrCriterion
- All Superinterfaces:
- AdvancementCriterion,- Nameable,- OperatorCriterion
A 
AdvancementCriterion that represents an OR operation. One the criteria
 should be true in order for the final result to be true.- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface org.spongepowered.api.advancement.criteria.AdvancementCriterionAdvancementCriterion.BaseBuilder<T extends AdvancementCriterion,B extends AdvancementCriterion.BaseBuilder<T, B>>, AdvancementCriterion.Builder 
- 
Method SummaryStatic MethodsModifier and TypeMethodDescriptionstatic AdvancementCriterionof(Iterable<AdvancementCriterion> criteria) Attempts to build a new OR operation with the givenAdvancementCriterions.static AdvancementCriterionof(AdvancementCriterion... criteria) Attempts to build a new OR operation with the givenAdvancementCriterions.Methods inherited from interface org.spongepowered.api.advancement.criteria.AdvancementCriterionand, and, or, or, triggerMethods inherited from interface org.spongepowered.api.advancement.criteria.OperatorCriterioncriteria, find, findFirst, leafCriteria
- 
Method Details- 
ofAttempts to build a new OR operation with the givenAdvancementCriterions.There is no guarantee that the returned extends OrCriterion, this depends on if there are duplicate criteria,AdvancementCriterion.empty()is present, or when no extra criteria are provided.- Parameters:
- criteria- The other criteria
- Returns:
- The OR operation
 
- 
ofAttempts to build a new OR operation with the givenAdvancementCriterions.There is no guarantee that the returned extends OrCriterion, this depends on if there are duplicate criteria,AdvancementCriterion.empty()is present, or when no extra criteria are provided.- Parameters:
- criteria- The other criteria
- Returns:
- The OR operation
 
 
-