Class PlayerPredicate.CriteriaPredicate
- java.lang.Object
-
- net.minecraft.advancements.criterion.PlayerPredicate.CriteriaPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<AdvancementProgress>
,PlayerPredicate.IAdvancementPredicate
- Enclosing class:
- PlayerPredicate
static class PlayerPredicate.CriteriaPredicate extends java.lang.Object implements PlayerPredicate.IAdvancementPredicate
-
-
Field Summary
Fields Modifier and Type Field Description private it.unimi.dsi.fastutil.objects.Object2BooleanMap<java.lang.String>
criterions
-
Constructor Summary
Constructors Constructor Description CriteriaPredicate(it.unimi.dsi.fastutil.objects.Object2BooleanMap<java.lang.String> p_i225772_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(AdvancementProgress p_test_1_)
com.google.gson.JsonElement
toJson()
-
-
-
Method Detail
-
toJson
public com.google.gson.JsonElement toJson()
- Specified by:
toJson
in interfacePlayerPredicate.IAdvancementPredicate
-
test
public boolean test(AdvancementProgress p_test_1_)
- Specified by:
test
in interfacejava.util.function.Predicate<AdvancementProgress>
-
-