Class PlayerPredicate.AdvancementCriterionsPredicate
java.lang.Object
net.minecraft.advancements.critereon.PlayerPredicate.AdvancementCriterionsPredicate
- All Implemented Interfaces:
Predicate<AdvancementProgress>
,PlayerPredicate.AdvancementPredicate
- Enclosing class:
- PlayerPredicate
static class PlayerPredicate.AdvancementCriterionsPredicate
extends Object
implements PlayerPredicate.AdvancementPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2BooleanMap<String>
-
Constructor Summary
ConstructorDescriptionAdvancementCriterionsPredicate
(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> p_62293_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(AdvancementProgress p_62296_) com.google.gson.JsonElement
toJson()
-
Field Details
-
criterions
-
-
Constructor Details
-
AdvancementCriterionsPredicate
public AdvancementCriterionsPredicate(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> p_62293_)
-
-
Method Details
-
toJson
public com.google.gson.JsonElement toJson()- Specified by:
toJson
in interfacePlayerPredicate.AdvancementPredicate
-
test
- Specified by:
test
in interfacePredicate<AdvancementProgress>
-