public enum BannerPattern extends java.lang.Enum<BannerPattern>
Modifier and Type | Method and Description |
---|---|
static BannerPattern |
byHash(java.lang.String hash) |
java.lang.String |
getFileName() |
java.lang.String |
getHashname() |
ItemStack |
getPatternItem() |
java.lang.String[] |
getPatterns() |
boolean |
hasPattern() |
boolean |
hasPatternItem() |
static BannerPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BannerPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BannerPattern BASE
public static final BannerPattern SQUARE_BOTTOM_LEFT
public static final BannerPattern SQUARE_BOTTOM_RIGHT
public static final BannerPattern SQUARE_TOP_LEFT
public static final BannerPattern SQUARE_TOP_RIGHT
public static final BannerPattern STRIPE_BOTTOM
public static final BannerPattern STRIPE_TOP
public static final BannerPattern STRIPE_LEFT
public static final BannerPattern STRIPE_RIGHT
public static final BannerPattern STRIPE_CENTER
public static final BannerPattern STRIPE_MIDDLE
public static final BannerPattern STRIPE_DOWNRIGHT
public static final BannerPattern STRIPE_DOWNLEFT
public static final BannerPattern STRIPE_SMALL
public static final BannerPattern CROSS
public static final BannerPattern STRAIGHT_CROSS
public static final BannerPattern TRIANGLE_BOTTOM
public static final BannerPattern TRIANGLE_TOP
public static final BannerPattern TRIANGLES_BOTTOM
public static final BannerPattern TRIANGLES_TOP
public static final BannerPattern DIAGONAL_LEFT
public static final BannerPattern DIAGONAL_RIGHT
public static final BannerPattern DIAGONAL_LEFT_MIRROR
public static final BannerPattern DIAGONAL_RIGHT_MIRROR
public static final BannerPattern CIRCLE_MIDDLE
public static final BannerPattern RHOMBUS_MIDDLE
public static final BannerPattern HALF_VERTICAL
public static final BannerPattern HALF_HORIZONTAL
public static final BannerPattern HALF_VERTICAL_MIRROR
public static final BannerPattern HALF_HORIZONTAL_MIRROR
public static final BannerPattern BORDER
public static final BannerPattern CURLY_BORDER
public static final BannerPattern CREEPER
public static final BannerPattern GRADIENT
public static final BannerPattern GRADIENT_UP
public static final BannerPattern BRICKS
public static final BannerPattern SKULL
public static final BannerPattern FLOWER
public static final BannerPattern MOJANG
public static BannerPattern[] values()
for (BannerPattern c : BannerPattern.values()) System.out.println(c);
public static BannerPattern valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getFileName()
public java.lang.String getHashname()
public java.lang.String[] getPatterns()
public boolean hasPattern()
public boolean hasPatternItem()
public ItemStack getPatternItem()
@Nullable public static BannerPattern byHash(java.lang.String hash)