Class PlayerPredicate.AdvancementDonePredicate
java.lang.Object
net.minecraft.advancements.critereon.PlayerPredicate.AdvancementDonePredicate
- All Implemented Interfaces:
Predicate<AdvancementProgress>
,PlayerPredicate.AdvancementPredicate
- Enclosing class:
- PlayerPredicate
static class PlayerPredicate.AdvancementDonePredicate
extends Object
implements PlayerPredicate.AdvancementPredicate
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test(AdvancementProgress p_62304_)
com.google.gson.JsonElement
toJson()
-
Field Details
-
state
private final boolean state
-
-
Constructor Details
-
AdvancementDonePredicate
public AdvancementDonePredicate(boolean p_62301_)
-
-
Method Details
-
toJson
public com.google.gson.JsonElement toJson()- Specified by:
toJson
in interfacePlayerPredicate.AdvancementPredicate
-
test
- Specified by:
test
in interfacePredicate<AdvancementProgress>
-