public static class RecipeUnlockedCriterion.Conditions extends AbstractCriterionConditions
| Modifier and Type | Field and Description |
|---|---|
private Identifier |
recipe |
| Constructor and Description |
|---|
Conditions(EntityPredicate.Extended player,
Identifier recipe) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Recipe<?> recipe) |
JsonObject |
toJson(AdvancementEntityPredicateSerializer predicateSerializer) |
getId, getPlayerPredicate, toStringprivate final Identifier recipe
public Conditions(EntityPredicate.Extended player, Identifier recipe)
public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
toJson in interface CriterionConditionstoJson in class AbstractCriterionConditionspublic boolean matches(Recipe<?> recipe)