public interface OperatorCriterion extends AdvancementCriterion
AdvancementCriterion.BaseBuilder<T extends AdvancementCriterion,B extends AdvancementCriterion.BaseBuilder<T,B>>, AdvancementCriterion.BuilderDUMMY, EMPTY| Modifier and Type | Method and Description |
|---|---|
Collection<AdvancementCriterion> |
find(String name)
Attempts to find all the children
AdvancementCriterions
with the specified name. |
Optional<AdvancementCriterion> |
findFirst(String name)
Attempts to find the first child
AdvancementCriterion with
the specified name. |
Collection<AdvancementCriterion> |
getCriteria()
Gets the children
AdvancementCriterions of this
OperatorCriterion. |
Collection<AdvancementCriterion> |
getLeafCriteria()
Gets the leaf
AdvancementCriterions. |
and, and, builder, getName, getTrigger, or, orCollection<AdvancementCriterion> find(String name)
AdvancementCriterions
with the specified name. The children will be checked recursively.name - The nameOptional<AdvancementCriterion> findFirst(String name)
AdvancementCriterion with
the specified name. The children will be checked recursively, but
direct children are prioritized.name - The nameCollection<AdvancementCriterion> getCriteria()
Collection<AdvancementCriterion> getLeafCriteria()
AdvancementCriterions. This means that there will
never be any OperatorCriterions in this list.