public static class RecipeUnlockedCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private Identifier |
recipe |
Constructor and Description |
---|
Conditions(Identifier id) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Recipe<?> recipe) |
JsonElement |
toJson() |
getId, toString
private final Identifier recipe
public Conditions(Identifier id)
public JsonElement toJson()
public boolean matches(Recipe<?> recipe)