Package net.minecraft.block.entity
Enum Class BannerPattern
- All Implemented Interfaces:
Serializable
,Comparable<BannerPattern>
,Constable
- Mappings:
Namespace Name official cmj
intermediary net/minecraft/class_2582
named net/minecraft/block/entity/BannerPattern
-
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 boolean
(package private) final String
static final int
private final String
private static final BannerPattern[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
BannerPattern
(String name, String id) private
BannerPattern
(String name, String id, boolean hasPatternItem) -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable BannerPattern
static @Nullable BannerPattern
getId()
getName()
getSpriteId
(boolean banner) 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.
-
Enum Constant Details
-
BASE
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a:Lcmj;
intermediary field_11834
Lnet/minecraft/class_2582;field_11834:Lnet/minecraft/class_2582;
named BASE
Lnet/minecraft/block/entity/BannerPattern;BASE:Lnet/minecraft/block/entity/BannerPattern;
-
SQUARE_BOTTOM_LEFT
- Mappings:
Namespace Name Mixin selector official b
Lcmj;b:Lcmj;
intermediary field_11839
Lnet/minecraft/class_2582;field_11839:Lnet/minecraft/class_2582;
named SQUARE_BOTTOM_LEFT
Lnet/minecraft/block/entity/BannerPattern;SQUARE_BOTTOM_LEFT:Lnet/minecraft/block/entity/BannerPattern;
-
SQUARE_BOTTOM_RIGHT
- Mappings:
Namespace Name Mixin selector official c
Lcmj;c:Lcmj;
intermediary field_11806
Lnet/minecraft/class_2582;field_11806:Lnet/minecraft/class_2582;
named SQUARE_BOTTOM_RIGHT
Lnet/minecraft/block/entity/BannerPattern;SQUARE_BOTTOM_RIGHT:Lnet/minecraft/block/entity/BannerPattern;
-
SQUARE_TOP_LEFT
- Mappings:
Namespace Name Mixin selector official d
Lcmj;d:Lcmj;
intermediary field_11831
Lnet/minecraft/class_2582;field_11831:Lnet/minecraft/class_2582;
named SQUARE_TOP_LEFT
Lnet/minecraft/block/entity/BannerPattern;SQUARE_TOP_LEFT:Lnet/minecraft/block/entity/BannerPattern;
-
SQUARE_TOP_RIGHT
- Mappings:
Namespace Name Mixin selector official e
Lcmj;e:Lcmj;
intermediary field_11848
Lnet/minecraft/class_2582;field_11848:Lnet/minecraft/class_2582;
named SQUARE_TOP_RIGHT
Lnet/minecraft/block/entity/BannerPattern;SQUARE_TOP_RIGHT:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_BOTTOM
- Mappings:
Namespace Name Mixin selector official f
Lcmj;f:Lcmj;
intermediary field_11810
Lnet/minecraft/class_2582;field_11810:Lnet/minecraft/class_2582;
named STRIPE_BOTTOM
Lnet/minecraft/block/entity/BannerPattern;STRIPE_BOTTOM:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_TOP
- Mappings:
Namespace Name Mixin selector official g
Lcmj;g:Lcmj;
intermediary field_11829
Lnet/minecraft/class_2582;field_11829:Lnet/minecraft/class_2582;
named STRIPE_TOP
Lnet/minecraft/block/entity/BannerPattern;STRIPE_TOP:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_LEFT
- Mappings:
Namespace Name Mixin selector official h
Lcmj;h:Lcmj;
intermediary field_11837
Lnet/minecraft/class_2582;field_11837:Lnet/minecraft/class_2582;
named STRIPE_LEFT
Lnet/minecraft/block/entity/BannerPattern;STRIPE_LEFT:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_RIGHT
- Mappings:
Namespace Name Mixin selector official i
Lcmj;i:Lcmj;
intermediary field_11813
Lnet/minecraft/class_2582;field_11813:Lnet/minecraft/class_2582;
named STRIPE_RIGHT
Lnet/minecraft/block/entity/BannerPattern;STRIPE_RIGHT:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_CENTER
- Mappings:
Namespace Name Mixin selector official j
Lcmj;j:Lcmj;
intermediary field_11819
Lnet/minecraft/class_2582;field_11819:Lnet/minecraft/class_2582;
named STRIPE_CENTER
Lnet/minecraft/block/entity/BannerPattern;STRIPE_CENTER:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_MIDDLE
- Mappings:
Namespace Name Mixin selector official k
Lcmj;k:Lcmj;
intermediary field_11838
Lnet/minecraft/class_2582;field_11838:Lnet/minecraft/class_2582;
named STRIPE_MIDDLE
Lnet/minecraft/block/entity/BannerPattern;STRIPE_MIDDLE:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_DOWNRIGHT
- Mappings:
Namespace Name Mixin selector official l
Lcmj;l:Lcmj;
intermediary field_11807
Lnet/minecraft/class_2582;field_11807:Lnet/minecraft/class_2582;
named STRIPE_DOWNRIGHT
Lnet/minecraft/block/entity/BannerPattern;STRIPE_DOWNRIGHT:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_DOWNLEFT
- Mappings:
Namespace Name Mixin selector official m
Lcmj;m:Lcmj;
intermediary field_11820
Lnet/minecraft/class_2582;field_11820:Lnet/minecraft/class_2582;
named STRIPE_DOWNLEFT
Lnet/minecraft/block/entity/BannerPattern;STRIPE_DOWNLEFT:Lnet/minecraft/block/entity/BannerPattern;
-
STRIPE_SMALL
- Mappings:
Namespace Name Mixin selector official n
Lcmj;n:Lcmj;
intermediary field_11814
Lnet/minecraft/class_2582;field_11814:Lnet/minecraft/class_2582;
named STRIPE_SMALL
Lnet/minecraft/block/entity/BannerPattern;STRIPE_SMALL:Lnet/minecraft/block/entity/BannerPattern;
-
CROSS
- Mappings:
Namespace Name Mixin selector official o
Lcmj;o:Lcmj;
intermediary field_11844
Lnet/minecraft/class_2582;field_11844:Lnet/minecraft/class_2582;
named CROSS
Lnet/minecraft/block/entity/BannerPattern;CROSS:Lnet/minecraft/block/entity/BannerPattern;
-
STRAIGHT_CROSS
- Mappings:
Namespace Name Mixin selector official p
Lcmj;p:Lcmj;
intermediary field_11830
Lnet/minecraft/class_2582;field_11830:Lnet/minecraft/class_2582;
named STRAIGHT_CROSS
Lnet/minecraft/block/entity/BannerPattern;STRAIGHT_CROSS:Lnet/minecraft/block/entity/BannerPattern;
-
TRIANGLE_BOTTOM
- Mappings:
Namespace Name Mixin selector official q
Lcmj;q:Lcmj;
intermediary field_11811
Lnet/minecraft/class_2582;field_11811:Lnet/minecraft/class_2582;
named TRIANGLE_BOTTOM
Lnet/minecraft/block/entity/BannerPattern;TRIANGLE_BOTTOM:Lnet/minecraft/block/entity/BannerPattern;
-
TRIANGLE_TOP
- Mappings:
Namespace Name Mixin selector official r
Lcmj;r:Lcmj;
intermediary field_11849
Lnet/minecraft/class_2582;field_11849:Lnet/minecraft/class_2582;
named TRIANGLE_TOP
Lnet/minecraft/block/entity/BannerPattern;TRIANGLE_TOP:Lnet/minecraft/block/entity/BannerPattern;
-
TRIANGLES_BOTTOM
- Mappings:
Namespace Name Mixin selector official s
Lcmj;s:Lcmj;
intermediary field_11822
Lnet/minecraft/class_2582;field_11822:Lnet/minecraft/class_2582;
named TRIANGLES_BOTTOM
Lnet/minecraft/block/entity/BannerPattern;TRIANGLES_BOTTOM:Lnet/minecraft/block/entity/BannerPattern;
-
TRIANGLES_TOP
- Mappings:
Namespace Name Mixin selector official t
Lcmj;t:Lcmj;
intermediary field_11815
Lnet/minecraft/class_2582;field_11815:Lnet/minecraft/class_2582;
named TRIANGLES_TOP
Lnet/minecraft/block/entity/BannerPattern;TRIANGLES_TOP:Lnet/minecraft/block/entity/BannerPattern;
-
DIAGONAL_LEFT
- Mappings:
Namespace Name Mixin selector official u
Lcmj;u:Lcmj;
intermediary field_11847
Lnet/minecraft/class_2582;field_11847:Lnet/minecraft/class_2582;
named DIAGONAL_LEFT
Lnet/minecraft/block/entity/BannerPattern;DIAGONAL_LEFT:Lnet/minecraft/block/entity/BannerPattern;
-
DIAGONAL_RIGHT
- Mappings:
Namespace Name Mixin selector official v
Lcmj;v:Lcmj;
intermediary field_11835
Lnet/minecraft/class_2582;field_11835:Lnet/minecraft/class_2582;
named DIAGONAL_RIGHT
Lnet/minecraft/block/entity/BannerPattern;DIAGONAL_RIGHT:Lnet/minecraft/block/entity/BannerPattern;
-
DIAGONAL_LEFT_MIRROR
- Mappings:
Namespace Name Mixin selector official w
Lcmj;w:Lcmj;
intermediary field_11817
Lnet/minecraft/class_2582;field_11817:Lnet/minecraft/class_2582;
named DIAGONAL_LEFT_MIRROR
Lnet/minecraft/block/entity/BannerPattern;DIAGONAL_LEFT_MIRROR:Lnet/minecraft/block/entity/BannerPattern;
-
DIAGONAL_RIGHT_MIRROR
- Mappings:
Namespace Name Mixin selector official x
Lcmj;x:Lcmj;
intermediary field_11842
Lnet/minecraft/class_2582;field_11842:Lnet/minecraft/class_2582;
named DIAGONAL_RIGHT_MIRROR
Lnet/minecraft/block/entity/BannerPattern;DIAGONAL_RIGHT_MIRROR:Lnet/minecraft/block/entity/BannerPattern;
-
CIRCLE_MIDDLE
- Mappings:
Namespace Name Mixin selector official y
Lcmj;y:Lcmj;
intermediary field_11826
Lnet/minecraft/class_2582;field_11826:Lnet/minecraft/class_2582;
named CIRCLE_MIDDLE
Lnet/minecraft/block/entity/BannerPattern;CIRCLE_MIDDLE:Lnet/minecraft/block/entity/BannerPattern;
-
RHOMBUS_MIDDLE
- Mappings:
Namespace Name Mixin selector official z
Lcmj;z:Lcmj;
intermediary field_11821
Lnet/minecraft/class_2582;field_11821:Lnet/minecraft/class_2582;
named RHOMBUS_MIDDLE
Lnet/minecraft/block/entity/BannerPattern;RHOMBUS_MIDDLE:Lnet/minecraft/block/entity/BannerPattern;
-
HALF_VERTICAL
- Mappings:
Namespace Name Mixin selector official A
Lcmj;A:Lcmj;
intermediary field_11828
Lnet/minecraft/class_2582;field_11828:Lnet/minecraft/class_2582;
named HALF_VERTICAL
Lnet/minecraft/block/entity/BannerPattern;HALF_VERTICAL:Lnet/minecraft/block/entity/BannerPattern;
-
HALF_HORIZONTAL
- Mappings:
Namespace Name Mixin selector official B
Lcmj;B:Lcmj;
intermediary field_11843
Lnet/minecraft/class_2582;field_11843:Lnet/minecraft/class_2582;
named HALF_HORIZONTAL
Lnet/minecraft/block/entity/BannerPattern;HALF_HORIZONTAL:Lnet/minecraft/block/entity/BannerPattern;
-
HALF_VERTICAL_MIRROR
- Mappings:
Namespace Name Mixin selector official C
Lcmj;C:Lcmj;
intermediary field_11818
Lnet/minecraft/class_2582;field_11818:Lnet/minecraft/class_2582;
named HALF_VERTICAL_MIRROR
Lnet/minecraft/block/entity/BannerPattern;HALF_VERTICAL_MIRROR:Lnet/minecraft/block/entity/BannerPattern;
-
HALF_HORIZONTAL_MIRROR
- Mappings:
Namespace Name Mixin selector official D
Lcmj;D:Lcmj;
intermediary field_11836
Lnet/minecraft/class_2582;field_11836:Lnet/minecraft/class_2582;
named HALF_HORIZONTAL_MIRROR
Lnet/minecraft/block/entity/BannerPattern;HALF_HORIZONTAL_MIRROR:Lnet/minecraft/block/entity/BannerPattern;
-
BORDER
- Mappings:
Namespace Name Mixin selector official E
Lcmj;E:Lcmj;
intermediary field_11840
Lnet/minecraft/class_2582;field_11840:Lnet/minecraft/class_2582;
named BORDER
Lnet/minecraft/block/entity/BannerPattern;BORDER:Lnet/minecraft/block/entity/BannerPattern;
-
CURLY_BORDER
- Mappings:
Namespace Name Mixin selector official F
Lcmj;F:Lcmj;
intermediary field_11816
Lnet/minecraft/class_2582;field_11816:Lnet/minecraft/class_2582;
named CURLY_BORDER
Lnet/minecraft/block/entity/BannerPattern;CURLY_BORDER:Lnet/minecraft/block/entity/BannerPattern;
-
GRADIENT
- Mappings:
Namespace Name Mixin selector official G
Lcmj;G:Lcmj;
intermediary field_11827
Lnet/minecraft/class_2582;field_11827:Lnet/minecraft/class_2582;
named GRADIENT
Lnet/minecraft/block/entity/BannerPattern;GRADIENT:Lnet/minecraft/block/entity/BannerPattern;
-
GRADIENT_UP
- Mappings:
Namespace Name Mixin selector official H
Lcmj;H:Lcmj;
intermediary field_11850
Lnet/minecraft/class_2582;field_11850:Lnet/minecraft/class_2582;
named GRADIENT_UP
Lnet/minecraft/block/entity/BannerPattern;GRADIENT_UP:Lnet/minecraft/block/entity/BannerPattern;
-
BRICKS
- Mappings:
Namespace Name Mixin selector official I
Lcmj;I:Lcmj;
intermediary field_11809
Lnet/minecraft/class_2582;field_11809:Lnet/minecraft/class_2582;
named BRICKS
Lnet/minecraft/block/entity/BannerPattern;BRICKS:Lnet/minecraft/block/entity/BannerPattern;
-
GLOBE
- Mappings:
Namespace Name Mixin selector official J
Lcmj;J:Lcmj;
intermediary field_18689
Lnet/minecraft/class_2582;field_18689:Lnet/minecraft/class_2582;
named GLOBE
Lnet/minecraft/block/entity/BannerPattern;GLOBE:Lnet/minecraft/block/entity/BannerPattern;
-
CREEPER
- Mappings:
Namespace Name Mixin selector official K
Lcmj;K:Lcmj;
intermediary field_11823
Lnet/minecraft/class_2582;field_11823:Lnet/minecraft/class_2582;
named CREEPER
Lnet/minecraft/block/entity/BannerPattern;CREEPER:Lnet/minecraft/block/entity/BannerPattern;
-
SKULL
- Mappings:
Namespace Name Mixin selector official L
Lcmj;L:Lcmj;
intermediary field_11845
Lnet/minecraft/class_2582;field_11845:Lnet/minecraft/class_2582;
named SKULL
Lnet/minecraft/block/entity/BannerPattern;SKULL:Lnet/minecraft/block/entity/BannerPattern;
-
FLOWER
- Mappings:
Namespace Name Mixin selector official M
Lcmj;M:Lcmj;
intermediary field_11812
Lnet/minecraft/class_2582;field_11812:Lnet/minecraft/class_2582;
named FLOWER
Lnet/minecraft/block/entity/BannerPattern;FLOWER:Lnet/minecraft/block/entity/BannerPattern;
-
MOJANG
- Mappings:
Namespace Name Mixin selector official N
Lcmj;N:Lcmj;
intermediary field_11825
Lnet/minecraft/class_2582;field_11825:Lnet/minecraft/class_2582;
named MOJANG
Lnet/minecraft/block/entity/BannerPattern;MOJANG:Lnet/minecraft/block/entity/BannerPattern;
-
PIGLIN
- Mappings:
Namespace Name Mixin selector official O
Lcmj;O:Lcmj;
intermediary field_23882
Lnet/minecraft/class_2582;field_23882:Lnet/minecraft/class_2582;
named PIGLIN
Lnet/minecraft/block/entity/BannerPattern;PIGLIN:Lnet/minecraft/block/entity/BannerPattern;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official S
Lcmj;S:[Lcmj;
intermediary field_24418
Lnet/minecraft/class_2582;field_24418:[Lnet/minecraft/class_2582;
named VALUES
Lnet/minecraft/block/entity/BannerPattern;VALUES:[Lnet/minecraft/block/entity/BannerPattern;
-
COUNT
public static final int COUNT- Mappings:
Namespace Name Mixin selector official P
Lcmj;P:I
intermediary field_11846
Lnet/minecraft/class_2582;field_11846:I
named COUNT
Lnet/minecraft/block/entity/BannerPattern;COUNT:I
-
HAS_PATTERN_ITEM_COUNT
public static final int HAS_PATTERN_ITEM_COUNT- Mappings:
Namespace Name Mixin selector official Q
Lcmj;Q:I
intermediary field_24417
Lnet/minecraft/class_2582;field_24417:I
named HAS_PATTERN_ITEM_COUNT
Lnet/minecraft/block/entity/BannerPattern;HAS_PATTERN_ITEM_COUNT:I
-
LOOM_APPLICABLE_COUNT
public static final int LOOM_APPLICABLE_COUNT- Mappings:
Namespace Name Mixin selector official R
Lcmj;R:I
intermediary field_18283
Lnet/minecraft/class_2582;field_18283:I
named LOOM_APPLICABLE_COUNT
Lnet/minecraft/block/entity/BannerPattern;LOOM_APPLICABLE_COUNT:I
-
hasPatternItem
private final boolean hasPatternItem- Mappings:
Namespace Name Mixin selector official T
Lcmj;T:Z
intermediary field_24419
Lnet/minecraft/class_2582;field_24419:Z
named hasPatternItem
Lnet/minecraft/block/entity/BannerPattern;hasPatternItem:Z
-
name
- Mappings:
Namespace Name Mixin selector official U
Lcmj;U:Ljava/lang/String;
intermediary field_11808
Lnet/minecraft/class_2582;field_11808:Ljava/lang/String;
named name
Lnet/minecraft/block/entity/BannerPattern;name:Ljava/lang/String;
-
id
- Mappings:
Namespace Name Mixin selector official V
Lcmj;V:Ljava/lang/String;
intermediary field_11824
Lnet/minecraft/class_2582;field_11824:Ljava/lang/String;
named id
Lnet/minecraft/block/entity/BannerPattern;id:Ljava/lang/String;
-
-
Constructor Details
-
BannerPattern
- Mappings:
Namespace Name Mixin selector official <init>
Lcmj;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2582;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
named <init>
Lnet/minecraft/block/entity/BannerPattern;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
-
BannerPattern
- Mappings:
Namespace Name Mixin selector official <init>
Lcmj;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_2582;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Z)V
named <init>
Lnet/minecraft/block/entity/BannerPattern;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Z)V
-
-
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
-
getSpriteId
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a(Z)Lyt;
intermediary method_22536
Lnet/minecraft/class_2582;method_22536(Z)Lnet/minecraft/class_2960;
named getSpriteId
Lnet/minecraft/block/entity/BannerPattern;getSpriteId(Z)Lnet/minecraft/util/Identifier;
-
getName
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a()Ljava/lang/String;
intermediary method_10947
Lnet/minecraft/class_2582;method_10947()Ljava/lang/String;
named getName
Lnet/minecraft/block/entity/BannerPattern;getName()Ljava/lang/String;
-
getId
- Mappings:
Namespace Name Mixin selector official b
Lcmj;b()Ljava/lang/String;
intermediary method_10945
Lnet/minecraft/class_2582;method_10945()Ljava/lang/String;
named getId
Lnet/minecraft/block/entity/BannerPattern;getId()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a(Ljava/lang/String;)Lcmj;
intermediary method_10946
Lnet/minecraft/class_2582;method_10946(Ljava/lang/String;)Lnet/minecraft/class_2582;
named byId
Lnet/minecraft/block/entity/BannerPattern;byId(Ljava/lang/String;)Lnet/minecraft/block/entity/BannerPattern;
-
byName
- Mappings:
Namespace Name Mixin selector official b
Lcmj;b(Ljava/lang/String;)Lcmj;
intermediary method_31652
Lnet/minecraft/class_2582;method_31652(Ljava/lang/String;)Lnet/minecraft/class_2582;
named byName
Lnet/minecraft/block/entity/BannerPattern;byName(Ljava/lang/String;)Lnet/minecraft/block/entity/BannerPattern;
-