Class PlayerPredicate.CompletedAdvancementPredicate
- java.lang.Object
-
- net.minecraft.advancements.criterion.PlayerPredicate.CompletedAdvancementPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<AdvancementProgress>
,PlayerPredicate.IAdvancementPredicate
- Enclosing class:
- PlayerPredicate
static class PlayerPredicate.CompletedAdvancementPredicate extends java.lang.Object implements PlayerPredicate.IAdvancementPredicate
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
state
-
Constructor Summary
Constructors Constructor Description CompletedAdvancementPredicate(boolean p_i225773_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>
-
-