public static class BrewedPotionTrigger.Instance extends AbstractCriterionInstance
Constructor and Description |
---|
Instance(PotionType potion) |
Modifier and Type | Method and Description |
---|---|
static BrewedPotionTrigger.Instance |
brewedPotion() |
com.google.gson.JsonElement |
serialize() |
boolean |
test(PotionType potion) |
getId, toString
public Instance(@Nullable PotionType potion)
public static BrewedPotionTrigger.Instance brewedPotion()
public boolean test(PotionType potion)
public com.google.gson.JsonElement serialize()