static class PlayerPredicate.AdvancementCriteriaPredicate extends Object implements PlayerPredicate.AdvancementPredicate
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> |
criteria |
Constructor and Description |
---|
AdvancementCriteriaPredicate(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> criteria) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(AdvancementProgress advancementProgress) |
JsonElement |
toJson() |
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> criteria
public AdvancementCriteriaPredicate(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> criteria)
public JsonElement toJson()
toJson
in interface PlayerPredicate.AdvancementPredicate
public boolean test(AdvancementProgress advancementProgress)
test
in interface Predicate<AdvancementProgress>