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