public static class Types_v1_20_5.PotionContents
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CUSTOM_COLOR |
static java.lang.String |
CUSTOM_EFFECTS |
static java.lang.String |
POTION |
| Constructor and Description |
|---|
PotionContents() |
PotionContents(net.lenni0451.mcstructs.core.Identifier potion,
java.lang.Integer customColor,
java.util.List<Types_v1_20_5.StatusEffect> customEffects) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getCustomColor() |
java.util.List<Types_v1_20_5.StatusEffect> |
getCustomEffects() |
net.lenni0451.mcstructs.core.Identifier |
getPotion() |
int |
hashCode() |
void |
setCustomColor(java.lang.Integer customColor) |
void |
setCustomEffects(java.util.List<Types_v1_20_5.StatusEffect> customEffects) |
void |
setPotion(net.lenni0451.mcstructs.core.Identifier potion) |
java.lang.String |
toString() |
public static final java.lang.String POTION
public static final java.lang.String CUSTOM_COLOR
public static final java.lang.String CUSTOM_EFFECTS
public PotionContents()
public PotionContents(@Nullable
net.lenni0451.mcstructs.core.Identifier potion,
@Nullable
java.lang.Integer customColor,
java.util.List<Types_v1_20_5.StatusEffect> customEffects)
@Nullable public net.lenni0451.mcstructs.core.Identifier getPotion()
@Nullable public java.lang.Integer getCustomColor()
public java.util.List<Types_v1_20_5.StatusEffect> getCustomEffects()
public void setPotion(@Nullable
net.lenni0451.mcstructs.core.Identifier potion)
public void setCustomColor(@Nullable
java.lang.Integer customColor)
public void setCustomEffects(java.util.List<Types_v1_20_5.StatusEffect> customEffects)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object