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_312768_)
-
Field Details
-
CODEC
-
conditions
-
compositePredicates
-
-
Constructor Details
-
ContextAwarePredicate
ContextAwarePredicate(List<LootItemCondition> p_298428_)
-
-
Method Details
-
create
-
matches
-
validate
-