Package net.minecraft.tileentity
Enum Class BannerPattern
- All Implemented Interfaces:
Serializable
,Comparable<BannerPattern>
,Constable
,IExtensibleEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
private final String
private final String
private final boolean
static final int
private static final BannerPattern[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
BannerPattern
(String p_i47245_3_, String p_i47245_4_) private
BannerPattern
(String p_i231861_3_, String p_i231861_4_, boolean p_i231861_5_) -
Method Summary
Modifier and TypeMethodDescriptionstatic BannerPattern
static BannerPattern
static BannerPattern
location
(boolean p_226957_1_) 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
-
create
-
create
public static BannerPattern create(String enumName, String fileNameIn, String hashNameIn, boolean hasPatternItem)
-