Package net.minecraft.block.entity
Enum Class BannerPattern
- All Implemented Interfaces:
Serializable
,Comparable<BannerPattern>
,Constable
- Mappings:
Namespace Name official clk
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
Lclk;a:Lclk;
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
Lclk;b:Lclk;
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
Lclk;c:Lclk;
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
Lclk;d:Lclk;
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
Lclk;e:Lclk;
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
Lclk;f:Lclk;
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
Lclk;g:Lclk;
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
Lclk;h:Lclk;
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
Lclk;i:Lclk;
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
Lclk;j:Lclk;
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
Lclk;k:Lclk;
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
Lclk;l:Lclk;
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
Lclk;m:Lclk;
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
Lclk;n:Lclk;
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
Lclk;o:Lclk;
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
Lclk;p:Lclk;
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
Lclk;q:Lclk;
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
Lclk;r:Lclk;
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
Lclk;s:Lclk;
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
Lclk;t:Lclk;
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
Lclk;u:Lclk;
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
Lclk;v:Lclk;
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
Lclk;w:Lclk;
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
Lclk;x:Lclk;
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
Lclk;y:Lclk;
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
Lclk;z:Lclk;
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
Lclk;A:Lclk;
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
Lclk;B:Lclk;
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
Lclk;C:Lclk;
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
Lclk;D:Lclk;
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
Lclk;E:Lclk;
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
Lclk;F:Lclk;
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
Lclk;G:Lclk;
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
Lclk;H:Lclk;
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
Lclk;I:Lclk;
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
Lclk;J:Lclk;
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
Lclk;K:Lclk;
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
Lclk;L:Lclk;
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
Lclk;M:Lclk;
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
Lclk;N:Lclk;
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
Lclk;O:Lclk;
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
Lclk;S:[Lclk;
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
Lclk;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
Lclk;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
Lclk;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
Lclk;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
Lclk;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
Lclk;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>
Lclk;<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>
Lclk;<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
Lclk;a(Z)Lyb;
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
Lclk;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
Lclk;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
Lclk;a(Ljava/lang/String;)Lclk;
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
Lclk;b(Ljava/lang/String;)Lclk;
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;
-