Package net.minecraft.entity.passive
Enum Class 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 official bqg$hintermediary net/minecraft/class_1463$class_7990named net/minecraft/entity/passive/RabbitEntity$RabbitType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<RabbitEntity.RabbitType>(package private) final intprivate final Stringprivate static final IntFunction<RabbitEntity.RabbitType>Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static RabbitEntity.RabbitTypebyIndex(int index) intgetIndex()static RabbitEntity.RabbitTypeReturns the enum constant of this class with the specified name.static RabbitEntity.RabbitType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BROWN
- Mappings:
Namespace Name Mixin selector official aLbqg$h;a:Lbqg$h;intermediary field_41561Lnet/minecraft/class_1463$class_7990;field_41561:Lnet/minecraft/class_1463$class_7990;named BROWNLnet/minecraft/entity/passive/RabbitEntity$RabbitType;BROWN:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-
WHITE
- Mappings:
Namespace Name Mixin selector official bLbqg$h;b:Lbqg$h;intermediary field_41562Lnet/minecraft/class_1463$class_7990;field_41562:Lnet/minecraft/class_1463$class_7990;named WHITELnet/minecraft/entity/passive/RabbitEntity$RabbitType;WHITE:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-
BLACK
- Mappings:
Namespace Name Mixin selector official cLbqg$h;c:Lbqg$h;intermediary field_41563Lnet/minecraft/class_1463$class_7990;field_41563:Lnet/minecraft/class_1463$class_7990;named BLACKLnet/minecraft/entity/passive/RabbitEntity$RabbitType;BLACK:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-
WHITE_SPLOTCHED
- Mappings:
Namespace Name Mixin selector official dLbqg$h;d:Lbqg$h;intermediary field_41564Lnet/minecraft/class_1463$class_7990;field_41564:Lnet/minecraft/class_1463$class_7990;named WHITE_SPLOTCHEDLnet/minecraft/entity/passive/RabbitEntity$RabbitType;WHITE_SPLOTCHED:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-
GOLD
- Mappings:
Namespace Name Mixin selector official eLbqg$h;e:Lbqg$h;intermediary field_41565Lnet/minecraft/class_1463$class_7990;field_41565:Lnet/minecraft/class_1463$class_7990;named GOLDLnet/minecraft/entity/passive/RabbitEntity$RabbitType;GOLD:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-
SALT
- Mappings:
Namespace Name Mixin selector official fLbqg$h;f:Lbqg$h;intermediary field_41566Lnet/minecraft/class_1463$class_7990;field_41566:Lnet/minecraft/class_1463$class_7990;named SALTLnet/minecraft/entity/passive/RabbitEntity$RabbitType;SALT:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-
EVIL
- Mappings:
Namespace Name Mixin selector official gLbqg$h;g:Lbqg$h;intermediary field_41567Lnet/minecraft/class_1463$class_7990;field_41567:Lnet/minecraft/class_1463$class_7990;named EVILLnet/minecraft/entity/passive/RabbitEntity$RabbitType;EVIL:Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-
-
Field Details
-
TYPE_BY_INDEX
- Mappings:
Namespace Name Mixin selector official iLbqg$h;i:Ljava/util/function/IntFunction;intermediary field_41569Lnet/minecraft/class_1463$class_7990;field_41569:Ljava/util/function/IntFunction;named TYPE_BY_INDEXLnet/minecraft/entity/passive/RabbitEntity$RabbitType;TYPE_BY_INDEX:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector official hLbqg$h;h:Lcom/mojang/serialization/Codec;intermediary field_41568Lnet/minecraft/class_1463$class_7990;field_41568:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/entity/passive/RabbitEntity$RabbitType;CODEC:Lcom/mojang/serialization/Codec;
-
index
final int index- Mappings:
Namespace Name Mixin selector official jLbqg$h;j:Iintermediary field_41570Lnet/minecraft/class_1463$class_7990;field_41570:Inamed indexLnet/minecraft/entity/passive/RabbitEntity$RabbitType;index:I
-
name
- Mappings:
Namespace Name Mixin selector official kLbqg$h;k:Ljava/lang/String;intermediary field_41571Lnet/minecraft/class_1463$class_7990;field_41571:Ljava/lang/String;named nameLnet/minecraft/entity/passive/RabbitEntity$RabbitType;name:Ljava/lang/String;
-
-
Constructor Details
-
RabbitType
- Mappings:
Namespace Name Mixin selector official <init>Lbqg$h;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1463$class_7990;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;<init>(Ljava/lang/String;IILjava/lang/String;)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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLaor;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector official aLbqg$h;a()Iintermediary method_47856Lnet/minecraft/class_1463$class_7990;method_47856()Inamed getIndexLnet/minecraft/entity/passive/RabbitEntity$RabbitType;getIndex()I
-
byIndex
- Mappings:
Namespace Name Mixin selector official aLbqg$h;a(I)Lbqg$h;intermediary method_47857Lnet/minecraft/class_1463$class_7990;method_47857(I)Lnet/minecraft/class_1463$class_7990;named byIndexLnet/minecraft/entity/passive/RabbitEntity$RabbitType;byIndex(I)Lnet/minecraft/entity/passive/RabbitEntity$RabbitType;
-