public class RecipeUnlockedCriterion extends AbstractCriterion<RecipeUnlockedCriterion.Conditions>
| Modifier and Type | Class and Description |
|---|---|
static class |
RecipeUnlockedCriterion.Conditions |
Criterion.ConditionsContainer<T extends CriterionConditions>| Modifier and Type | Field and Description |
|---|---|
private static Identifier |
ID |
| Constructor and Description |
|---|
RecipeUnlockedCriterion() |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
getId() |
static RecipeUnlockedCriterion.Conditions |
method_27847(Identifier identifier) |
RecipeUnlockedCriterion.Conditions |
method_27854(JsonObject jsonObject,
EntityPredicate.class_5258 class_5258,
class_5257 class_5257) |
void |
trigger(ServerPlayerEntity player,
Recipe<?> recipe) |
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, grant, testprivate static final Identifier ID
public Identifier getId()
public RecipeUnlockedCriterion.Conditions method_27854(JsonObject jsonObject, EntityPredicate.class_5258 class_5258, class_5257 class_5257)
method_27854 in class AbstractCriterion<RecipeUnlockedCriterion.Conditions>public void trigger(ServerPlayerEntity player, Recipe<?> recipe)
public static RecipeUnlockedCriterion.Conditions method_27847(Identifier identifier)