Package net.minecraft.entity.passive
Enum HorseMarking
- All Implemented Interfaces:
Serializable
,Comparable<HorseMarking>
,java.lang.constant.Constable
public enum HorseMarking extends Enum<HorseMarking>
- Mappings:
Namespace Name official bcv
intermediary net/minecraft/class_5148
named net/minecraft/entity/passive/HorseMarking
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description BLACK_DOTS
NONE
WHITE
WHITE_DOTS
WHITE_FIELD
-
Field Summary
Fields Modifier and Type Field Description private int
index
private static HorseMarking[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
HorseMarking(int index)
-
Method Summary
Modifier and Type Method Description static HorseMarking
byIndex(int index)
int
getIndex()
static HorseMarking
valueOf(String name)
Returns the enum constant of this type with the specified name.static HorseMarking[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Lbcv;a:Lbcv;
intermediary field_23808
Lnet/minecraft/class_5148;field_23808:Lnet/minecraft/class_5148;
named NONE
Lnet/minecraft/entity/passive/HorseMarking;NONE:Lnet/minecraft/entity/passive/HorseMarking;
-
WHITE
- Mappings:
Namespace Name Mixin selector official b
Lbcv;b:Lbcv;
intermediary field_23809
Lnet/minecraft/class_5148;field_23809:Lnet/minecraft/class_5148;
named WHITE
Lnet/minecraft/entity/passive/HorseMarking;WHITE:Lnet/minecraft/entity/passive/HorseMarking;
-
WHITE_FIELD
- Mappings:
Namespace Name Mixin selector official c
Lbcv;c:Lbcv;
intermediary field_23810
Lnet/minecraft/class_5148;field_23810:Lnet/minecraft/class_5148;
named WHITE_FIELD
Lnet/minecraft/entity/passive/HorseMarking;WHITE_FIELD:Lnet/minecraft/entity/passive/HorseMarking;
-
WHITE_DOTS
- Mappings:
Namespace Name Mixin selector official d
Lbcv;d:Lbcv;
intermediary field_23811
Lnet/minecraft/class_5148;field_23811:Lnet/minecraft/class_5148;
named WHITE_DOTS
Lnet/minecraft/entity/passive/HorseMarking;WHITE_DOTS:Lnet/minecraft/entity/passive/HorseMarking;
-
BLACK_DOTS
- Mappings:
Namespace Name Mixin selector official e
Lbcv;e:Lbcv;
intermediary field_23812
Lnet/minecraft/class_5148;field_23812:Lnet/minecraft/class_5148;
named BLACK_DOTS
Lnet/minecraft/entity/passive/HorseMarking;BLACK_DOTS:Lnet/minecraft/entity/passive/HorseMarking;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official f
Lbcv;f:[Lbcv;
intermediary field_23813
Lnet/minecraft/class_5148;field_23813:[Lnet/minecraft/class_5148;
named VALUES
Lnet/minecraft/entity/passive/HorseMarking;VALUES:[Lnet/minecraft/entity/passive/HorseMarking;
-
index
private final int index- Mappings:
Namespace Name Mixin selector official g
Lbcv;g:I
intermediary field_23814
Lnet/minecraft/class_5148;field_23814:I
named index
Lnet/minecraft/entity/passive/HorseMarking;index:I
-
-
Constructor Details
-
HorseMarking
private HorseMarking(int index)- Mappings:
Namespace Name Mixin selector official <init>
Lbcv;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_5148;<init>(Ljava/lang/String;II)V
named <init>
Lnet/minecraft/entity/passive/HorseMarking;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector official a
Lbcv;a()I
intermediary method_27079
Lnet/minecraft/class_5148;method_27079()I
named getIndex
Lnet/minecraft/entity/passive/HorseMarking;getIndex()I
-
byIndex
- Mappings:
Namespace Name Mixin selector official a
Lbcv;a(I)Lbcv;
intermediary method_27080
Lnet/minecraft/class_5148;method_27080(I)Lnet/minecraft/class_5148;
named byIndex
Lnet/minecraft/entity/passive/HorseMarking;byIndex(I)Lnet/minecraft/entity/passive/HorseMarking;
-