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