Class AdvancementVisibilityEvaluator
java.lang.Object
net.minecraft.server.advancements.AdvancementVisibilityEvaluator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
evaluateVisibility
(AdvancementNode p_301282_, it.unimi.dsi.fastutil.Stack<AdvancementVisibilityEvaluator.VisibilityRule> p_301009_, Predicate<AdvancementNode> p_265359_, AdvancementVisibilityEvaluator.Output p_265303_) static void
evaluateVisibility
(AdvancementNode p_301203_, Predicate<AdvancementNode> p_265561_, AdvancementVisibilityEvaluator.Output p_265381_) private static AdvancementVisibilityEvaluator.VisibilityRule
evaluateVisibilityRule
(Advancement p_265736_, boolean p_265426_) private static boolean
evaluateVisiblityForUnfinishedNode
(it.unimi.dsi.fastutil.Stack<AdvancementVisibilityEvaluator.VisibilityRule> p_265343_) static boolean
isVisible
(AdvancementNode advancement, Predicate<AdvancementNode> test)
-
Field Details
-
VISIBILITY_DEPTH
private static final int VISIBILITY_DEPTH- See Also:
-
-
Constructor Details
-
AdvancementVisibilityEvaluator
public AdvancementVisibilityEvaluator()
-
-
Method Details
-
evaluateVisibilityRule
private static AdvancementVisibilityEvaluator.VisibilityRule evaluateVisibilityRule(Advancement p_265736_, boolean p_265426_) -
evaluateVisiblityForUnfinishedNode
private static boolean evaluateVisiblityForUnfinishedNode(it.unimi.dsi.fastutil.Stack<AdvancementVisibilityEvaluator.VisibilityRule> p_265343_) -
evaluateVisibility
private static boolean evaluateVisibility(AdvancementNode p_301282_, it.unimi.dsi.fastutil.Stack<AdvancementVisibilityEvaluator.VisibilityRule> p_301009_, Predicate<AdvancementNode> p_265359_, AdvancementVisibilityEvaluator.Output p_265303_) -
evaluateVisibility
public static void evaluateVisibility(AdvancementNode p_301203_, Predicate<AdvancementNode> p_265561_, AdvancementVisibilityEvaluator.Output p_265381_) -
isVisible
-