Enum Class BannerPattern
- All Implemented Interfaces:
Serializable
,Comparable<BannerPattern>
,Constable
,IExtensibleEnum
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
private String
(package private) String
private boolean
static int
private static BannerPattern[]
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
BannerPattern(String p_58564_, String p_58565_)
private
BannerPattern(String p_58569_, String p_58570_, boolean p_58571_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic BannerPattern
byFilename(String p_155046_)
static BannerPattern
static BannerPattern
static BannerPattern
location(boolean p_58578_)
static BannerPattern
Returns the enum constant of this class with the specified name.static BannerPattern[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.minecraftforge.common.IExtensibleEnum
init
-
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 -
PATTERN_ITEM_COUNT
public static final int PATTERN_ITEM_COUNT -
AVAILABLE_PATTERNS
public static final int AVAILABLE_PATTERNS -
hasPatternItem
private final boolean hasPatternItem -
filename
-
hashname
-
-
Constructor Details
-
BannerPattern
-
BannerPattern
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
location
-
getFilename
-
getHashname
-
byHash
-
byFilename
-
create
-
create
public static BannerPattern create(String enumName, String fileNameIn, String hashNameIn, boolean hasPatternItem)
-