Class ContextAwarePredicate
java.lang.Object
net.minecraft.advancements.critereon.ContextAwarePredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ContextAwarePredicate> private final Predicate
<LootContext> private final List
<LootItemCondition> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContextAwarePredicate
create
(LootItemCondition... p_286844_) boolean
matches
(LootContext p_286260_) void
validate
(ValidationContext p_309801_)
-
Field Details
-
CODEC
-
conditions
-
compositePredicates
-
-
Constructor Details
-
ContextAwarePredicate
ContextAwarePredicate(List<LootItemCondition> p_301186_)
-
-
Method Details
-
create
-
matches
-
validate
-