Package net.minecraft.block.entity
Enum BannerPattern
- All Implemented Interfaces:
Serializable
,Comparable<BannerPattern>
,java.lang.constant.Constable
public enum BannerPattern extends Enum<BannerPattern>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BannerPattern.Patterns
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static int
COUNT
static int
field_24417
private boolean
field_24419
private String
id
static int
LOOM_APPLICABLE_COUNT
private String
name
private static BannerPattern[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
BannerPattern(String name, String id)
private
BannerPattern(String name, String id, boolean bool)
-
Method Summary
Modifier and Type Method Description static BannerPattern
byId(String id)
String
getId()
String
getName()
Identifier
getSpriteId(boolean bool)
static BannerPattern
method_31652(String string)
static BannerPattern
valueOf(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.
-
Enum Constant Details
-
BASE
-
SQUARE_BOTTOM_LEFT
-
SQUARE_BOTTOM_RIGHT
-
SQUARE_TOP_LEFT
-
SQUARE_TOP_RIGHT
-
STRIPE_BOTTOM
-
STRIPE_TOP
-
STRIPE_LEFT
-
STRIPE_RIGHT
-
STRIPE_CENTER
-
STRIPE_MIDDLE
-
STRIPE_DOWNRIGHT
-
STRIPE_DOWNLEFT
-
STRIPE_SMALL
-
CROSS
-
STRAIGHT_CROSS
-
TRIANGLE_BOTTOM
-
TRIANGLE_TOP
-
TRIANGLES_BOTTOM
-
TRIANGLES_TOP
-
DIAGONAL_LEFT
-
DIAGONAL_RIGHT
-
DIAGONAL_LEFT_MIRROR
-
DIAGONAL_RIGHT_MIRROR
-
CIRCLE_MIDDLE
-
RHOMBUS_MIDDLE
-
HALF_VERTICAL
-
HALF_HORIZONTAL
-
HALF_VERTICAL_MIRROR
-
HALF_HORIZONTAL_MIRROR
-
BORDER
-
CURLY_BORDER
-
GRADIENT
-
GRADIENT_UP
-
BRICKS
-
GLOBE
-
CREEPER
-
SKULL
-
FLOWER
-
MOJANG
-
PIGLIN
-
-
Field Details
-
VALUES
-
COUNT
public static final int COUNT -
field_24417
public static final int field_24417 -
LOOM_APPLICABLE_COUNT
public static final int LOOM_APPLICABLE_COUNT -
field_24419
private final boolean field_24419 -
name
-
id
-
-
Constructor Details
-
BannerPattern
-
BannerPattern
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSpriteId
-
getName
-
getId
-
byId
-
method_31652
-