Enum Class HorseMarking

java.lang.Object
java.lang.Enum<HorseMarking>
net.minecraft.entity.passive.HorseMarking
All Implemented Interfaces:
Serializable, Comparable<HorseMarking>, Constable

public enum HorseMarking extends Enum<HorseMarking>
Mappings:
Namespace Name
named net/minecraft/entity/passive/HorseMarking
intermediary net/minecraft/class_5148
official chp
  • Enum Constant Details

    • NONE

      public static final HorseMarking NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/entity/passive/HorseMarking;NONE:Lnet/minecraft/entity/passive/HorseMarking;
      intermediary field_23808 Lnet/minecraft/class_5148;field_23808:Lnet/minecraft/class_5148;
      official a Lchp;a:Lchp;
    • WHITE

      public static final HorseMarking WHITE
      Mappings:
      Namespace Name Mixin selector
      named WHITE Lnet/minecraft/entity/passive/HorseMarking;WHITE:Lnet/minecraft/entity/passive/HorseMarking;
      intermediary field_23809 Lnet/minecraft/class_5148;field_23809:Lnet/minecraft/class_5148;
      official b Lchp;b:Lchp;
    • WHITE_FIELD

      public static final HorseMarking WHITE_FIELD
      Mappings:
      Namespace Name Mixin selector
      named WHITE_FIELD Lnet/minecraft/entity/passive/HorseMarking;WHITE_FIELD:Lnet/minecraft/entity/passive/HorseMarking;
      intermediary field_23810 Lnet/minecraft/class_5148;field_23810:Lnet/minecraft/class_5148;
      official c Lchp;c:Lchp;
    • WHITE_DOTS

      public static final HorseMarking WHITE_DOTS
      Mappings:
      Namespace Name Mixin selector
      named WHITE_DOTS Lnet/minecraft/entity/passive/HorseMarking;WHITE_DOTS:Lnet/minecraft/entity/passive/HorseMarking;
      intermediary field_23811 Lnet/minecraft/class_5148;field_23811:Lnet/minecraft/class_5148;
      official d Lchp;d:Lchp;
    • BLACK_DOTS

      public static final HorseMarking BLACK_DOTS
      Mappings:
      Namespace Name Mixin selector
      named BLACK_DOTS Lnet/minecraft/entity/passive/HorseMarking;BLACK_DOTS:Lnet/minecraft/entity/passive/HorseMarking;
      intermediary field_23812 Lnet/minecraft/class_5148;field_23812:Lnet/minecraft/class_5148;
      official e Lchp;e:Lchp;
  • Field Details

    • BY_ID

      private static final IntFunction<HorseMarking> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/entity/passive/HorseMarking;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_23813 Lnet/minecraft/class_5148;field_23813:Ljava/util/function/IntFunction;
      official f Lchp;f:Ljava/util/function/IntFunction;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/HorseMarking;id:I
      intermediary field_23814 Lnet/minecraft/class_5148;field_23814:I
      official g Lchp;g:I
  • Constructor Details

    • HorseMarking

      private HorseMarking(int id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/HorseMarking;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_5148;<init>(Ljava/lang/String;II)V
      official <init> Lchp;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static HorseMarking[] 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

      public static HorseMarking valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/entity/passive/HorseMarking;getId()I
      intermediary method_27079 Lnet/minecraft/class_5148;method_27079()I
      official a Lchp;a()I
    • byIndex

      public static HorseMarking byIndex(int index)
      Mappings:
      Namespace Name Mixin selector
      named byIndex Lnet/minecraft/entity/passive/HorseMarking;byIndex(I)Lnet/minecraft/entity/passive/HorseMarking;
      intermediary method_27080 Lnet/minecraft/class_5148;method_27080(I)Lnet/minecraft/class_5148;
      official a Lchp;a(I)Lchp;