public final class PotionContents
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Type<PotionContents> |
TYPE |
Constructor and Description |
---|
PotionContents(@Nullable java.lang.Integer potion,
@Nullable java.lang.Integer customColor,
PotionEffect[] customEffects) |
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.Integer |
customColor() |
PotionEffect[] |
customEffects() |
@Nullable java.lang.Integer |
potion() |
public static final Type<PotionContents> TYPE
public PotionContents(@Nullable java.lang.Integer potion, @Nullable java.lang.Integer customColor, PotionEffect[] customEffects)
public @Nullable java.lang.Integer potion()
public @Nullable java.lang.Integer customColor()
public PotionEffect[] customEffects()