public static class BrewedPotionCriterion.Conditions extends AbstractCriterionConditions
| Constructor and Description |
|---|
Conditions(EntityPredicate.class_5258 class_5258,
Potion potion) |
| Modifier and Type | Method and Description |
|---|---|
static BrewedPotionCriterion.Conditions |
any() |
boolean |
matches(Potion potion) |
JsonObject |
toJson(class_5267 class_5267) |
getId, method_27790, toStringprivate final Potion potion
public Conditions(EntityPredicate.class_5258 class_5258, @Nullable Potion potion)
public static BrewedPotionCriterion.Conditions any()
public boolean matches(Potion potion)
public JsonObject toJson(class_5267 class_5267)
toJson in interface CriterionConditionstoJson in class AbstractCriterionConditions