Package net.minecraft.entity.passive
Enum Class HorseMarking
- All Implemented Interfaces:
Serializable,Comparable<HorseMarking>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/passive/HorseMarkingintermediary net/minecraft/class_5148official cmi
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final IntFunction<HorseMarking> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HorseMarkingbyIndex(int index) intgetIndex()static HorseMarkingReturns the enum constant of this class with the specified name.static HorseMarking[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/entity/passive/HorseMarking;NONE:Lnet/minecraft/entity/passive/HorseMarking;intermediary field_23808Lnet/minecraft/class_5148;field_23808:Lnet/minecraft/class_5148;official aLcmi;a:Lcmi;
-
WHITE
- Mappings:
Namespace Name Mixin selector named WHITELnet/minecraft/entity/passive/HorseMarking;WHITE:Lnet/minecraft/entity/passive/HorseMarking;intermediary field_23809Lnet/minecraft/class_5148;field_23809:Lnet/minecraft/class_5148;official bLcmi;b:Lcmi;
-
WHITE_FIELD
- Mappings:
Namespace Name Mixin selector named WHITE_FIELDLnet/minecraft/entity/passive/HorseMarking;WHITE_FIELD:Lnet/minecraft/entity/passive/HorseMarking;intermediary field_23810Lnet/minecraft/class_5148;field_23810:Lnet/minecraft/class_5148;official cLcmi;c:Lcmi;
-
WHITE_DOTS
- Mappings:
Namespace Name Mixin selector named WHITE_DOTSLnet/minecraft/entity/passive/HorseMarking;WHITE_DOTS:Lnet/minecraft/entity/passive/HorseMarking;intermediary field_23811Lnet/minecraft/class_5148;field_23811:Lnet/minecraft/class_5148;official dLcmi;d:Lcmi;
-
BLACK_DOTS
- Mappings:
Namespace Name Mixin selector named BLACK_DOTSLnet/minecraft/entity/passive/HorseMarking;BLACK_DOTS:Lnet/minecraft/entity/passive/HorseMarking;intermediary field_23812Lnet/minecraft/class_5148;field_23812:Lnet/minecraft/class_5148;official eLcmi;e:Lcmi;
-
-
Field Details
-
INDEX_MAPPER
- Mappings:
Namespace Name Mixin selector named INDEX_MAPPERLnet/minecraft/entity/passive/HorseMarking;INDEX_MAPPER:Ljava/util/function/IntFunction;intermediary field_23813Lnet/minecraft/class_5148;field_23813:Ljava/util/function/IntFunction;official fLcmi;f:Ljava/util/function/IntFunction;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/entity/passive/HorseMarking;index:Iintermediary field_23814Lnet/minecraft/class_5148;field_23814:Iofficial gLcmi;g:I
-
-
Constructor Details
-
HorseMarking
private HorseMarking(int index) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/HorseMarking;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_5148;<init>(Ljava/lang/String;II)Vofficial <init>Lcmi;<init>(Ljava/lang/String;II)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
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/entity/passive/HorseMarking;getIndex()Iintermediary method_27079Lnet/minecraft/class_5148;method_27079()Iofficial aLcmi;a()I
-
byIndex
- Mappings:
Namespace Name Mixin selector named byIndexLnet/minecraft/entity/passive/HorseMarking;byIndex(I)Lnet/minecraft/entity/passive/HorseMarking;intermediary method_27080Lnet/minecraft/class_5148;method_27080(I)Lnet/minecraft/class_5148;official aLcmi;a(I)Lcmi;
-