static class PlayerPredicate.CompletedAdvancementPredicate extends Object implements PlayerPredicate.AdvancementPredicate
Modifier and Type | Field and Description |
---|---|
private boolean |
done |
Constructor and Description |
---|
CompletedAdvancementPredicate(boolean done) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(AdvancementProgress advancementProgress) |
JsonElement |
toJson() |
public JsonElement toJson()
toJson
in interface PlayerPredicate.AdvancementPredicate
public boolean test(AdvancementProgress advancementProgress)
test
in interface Predicate<AdvancementProgress>