Enum Class RabbitEntity.RabbitType

java.lang.Object
java.lang.Enum<RabbitEntity.RabbitType>
net.minecraft.entity.passive.RabbitEntity.RabbitType
All Implemented Interfaces:
Serializable, Comparable<RabbitEntity.RabbitType>, Constable, StringIdentifiable
Enclosing class:
RabbitEntity

public static enum RabbitEntity.RabbitType extends Enum<RabbitEntity.RabbitType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/passive/RabbitEntity$RabbitType
intermediary net/minecraft/class_1463$class_7990
official cfy$g
  • Enum Constant Details

    • BROWN

      public static final RabbitEntity.RabbitType BROWN
      Mappings:
      Namespace Name Mixin selector
      named BROWN Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;BROWN:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary field_41561 Lnet/minecraft/class_1463$class_7990;field_41561:Lnet/minecraft/class_1463$class_7990;
      official a Lcfy$g;a:Lcfy$g;
    • WHITE

      public static final RabbitEntity.RabbitType WHITE
      Mappings:
      Namespace Name Mixin selector
      named WHITE Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;WHITE:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary field_41562 Lnet/minecraft/class_1463$class_7990;field_41562:Lnet/minecraft/class_1463$class_7990;
      official b Lcfy$g;b:Lcfy$g;
    • BLACK

      public static final RabbitEntity.RabbitType BLACK
      Mappings:
      Namespace Name Mixin selector
      named BLACK Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;BLACK:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary field_41563 Lnet/minecraft/class_1463$class_7990;field_41563:Lnet/minecraft/class_1463$class_7990;
      official c Lcfy$g;c:Lcfy$g;
    • WHITE_SPLOTCHED

      public static final RabbitEntity.RabbitType WHITE_SPLOTCHED
      Mappings:
      Namespace Name Mixin selector
      named WHITE_SPLOTCHED Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;WHITE_SPLOTCHED:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary field_41564 Lnet/minecraft/class_1463$class_7990;field_41564:Lnet/minecraft/class_1463$class_7990;
      official d Lcfy$g;d:Lcfy$g;
    • GOLD

      public static final RabbitEntity.RabbitType GOLD
      Mappings:
      Namespace Name Mixin selector
      named GOLD Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;GOLD:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary field_41565 Lnet/minecraft/class_1463$class_7990;field_41565:Lnet/minecraft/class_1463$class_7990;
      official e Lcfy$g;e:Lcfy$g;
    • SALT

      public static final RabbitEntity.RabbitType SALT
      Mappings:
      Namespace Name Mixin selector
      named SALT Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;SALT:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary field_41566 Lnet/minecraft/class_1463$class_7990;field_41566:Lnet/minecraft/class_1463$class_7990;
      official f Lcfy$g;f:Lcfy$g;
    • EVIL

      public static final RabbitEntity.RabbitType EVIL
      Mappings:
      Namespace Name Mixin selector
      named EVIL Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;EVIL:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary field_41567 Lnet/minecraft/class_1463$class_7990;field_41567:Lnet/minecraft/class_1463$class_7990;
      official g Lcfy$g;g:Lcfy$g;
  • Field Details

    • BY_ID

      private static final IntFunction<RabbitEntity.RabbitType> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_41569 Lnet/minecraft/class_1463$class_7990;field_41569:Ljava/util/function/IntFunction;
      official i Lcfy$g;i:Ljava/util/function/IntFunction;
    • CODEC

      public static final com.mojang.serialization.Codec<RabbitEntity.RabbitType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_41568 Lnet/minecraft/class_1463$class_7990;field_41568:Lcom/mojang/serialization/Codec;
      official h Lcfy$g;h:Lcom/mojang/serialization/Codec;
    • id

      final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;id:I
      intermediary field_41570 Lnet/minecraft/class_1463$class_7990;field_41570:I
      official j Lcfy$g;j:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;name:Ljava/lang/String;
      intermediary field_41571 Lnet/minecraft/class_1463$class_7990;field_41571:Ljava/lang/String;
      official k Lcfy$g;k:Ljava/lang/String;
  • Constructor Details

    • RabbitType

      private RabbitType(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1463$class_7990;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lcfy$g;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static RabbitEntity.RabbitType[] 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 RabbitEntity.RabbitType 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazk;c()Ljava/lang/String;
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;getId()I
      intermediary method_47856 Lnet/minecraft/class_1463$class_7990;method_47856()I
      official a Lcfy$g;a()I
    • byId

      public static RabbitEntity.RabbitType byId(int id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;byId(I)Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
      intermediary method_47857 Lnet/minecraft/class_1463$class_7990;method_47857(I)Lnet/minecraft/class_1463$class_7990;
      official a Lcfy$g;a(I)Lcfy$g;