public static class Types_v1_20_5.BannerPattern
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Types_v1_20_5.BannerPattern.Pattern |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COLOR |
static java.lang.String |
PATTERN |
| Constructor and Description |
|---|
BannerPattern() |
BannerPattern(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.BannerPattern.Pattern> pattern,
Types_v1_20_5.DyeColor color) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Types_v1_20_5.DyeColor |
getColor() |
net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.BannerPattern.Pattern> |
getPattern() |
int |
hashCode() |
void |
setColor(Types_v1_20_5.DyeColor color) |
void |
setPattern(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.BannerPattern.Pattern> pattern) |
java.lang.String |
toString() |
public static final java.lang.String PATTERN
public static final java.lang.String COLOR
public BannerPattern()
public BannerPattern(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.BannerPattern.Pattern> pattern, Types_v1_20_5.DyeColor color)
public net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.BannerPattern.Pattern> getPattern()
public Types_v1_20_5.DyeColor getColor()
public void setPattern(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.BannerPattern.Pattern> pattern)
public void setColor(Types_v1_20_5.DyeColor color)
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