Class CriterionValidator
java.lang.Object
net.minecraft.advancements.critereon.CriterionValidator
-
Field Summary
Modifier and TypeFieldDescriptionprivate final HolderGetter.Provider
private final ProblemReporter
-
Constructor Summary
ConstructorDescriptionCriterionValidator
(ProblemReporter p_311918_, HolderGetter.Provider p_335486_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(List<ContextAwarePredicate> p_312108_, LootContextParamSet p_312752_, String p_312670_) void
validate
(ContextAwarePredicate p_312318_, LootContextParamSet p_312478_, String p_312401_) void
validateEntities
(List<ContextAwarePredicate> p_311847_, String p_312485_) void
validateEntity
(Optional<ContextAwarePredicate> p_312159_, String p_312438_) void
validateEntity
(ContextAwarePredicate p_311775_, String p_311914_)
-
Field Details
-
reporter
-
lootData
-
-
Constructor Details
-
CriterionValidator
-
-
Method Details
-
validateEntity
-
validateEntities
-
validateEntity
-
validate
public void validate(ContextAwarePredicate p_312318_, LootContextParamSet p_312478_, String p_312401_) -
validate
public void validate(List<ContextAwarePredicate> p_312108_, LootContextParamSet p_312752_, String p_312670_)
-