Package net.minecraft.entity.passive
Enum Class FoxEntity.Type
- All Implemented Interfaces:
Serializable
,Comparable<FoxEntity.Type>
,Constable
- Enclosing class:
FoxEntity
- Mappings:
Namespace Name official bno$v
intermediary net/minecraft/class_4019$class_4039
named net/minecraft/entity/passive/FoxEntity$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final String
private static final Map<String,
FoxEntity.Type> private static final FoxEntity.Type[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FoxEntity.Type
static FoxEntity.Type
fromBiome
(RegistryEntry<Biome> registryEntry) static FoxEntity.Type
fromId
(int id) int
getId()
getKey()
static FoxEntity.Type
Returns the enum constant of this class with the specified name.static FoxEntity.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RED
- Mappings:
Namespace Name Mixin selector official a
Lbno$v;a:Lbno$v;
intermediary field_17996
Lnet/minecraft/class_4019$class_4039;field_17996:Lnet/minecraft/class_4019$class_4039;
named RED
Lnet/minecraft/entity/passive/FoxEntity$Type;RED:Lnet/minecraft/entity/passive/FoxEntity$Type;
-
SNOW
- Mappings:
Namespace Name Mixin selector official b
Lbno$v;b:Lbno$v;
intermediary field_17997
Lnet/minecraft/class_4019$class_4039;field_17997:Lnet/minecraft/class_4019$class_4039;
named SNOW
Lnet/minecraft/entity/passive/FoxEntity$Type;SNOW:Lnet/minecraft/entity/passive/FoxEntity$Type;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official c
Lbno$v;c:[Lbno$v;
intermediary field_17998
Lnet/minecraft/class_4019$class_4039;field_17998:[Lnet/minecraft/class_4019$class_4039;
named TYPES
Lnet/minecraft/entity/passive/FoxEntity$Type;TYPES:[Lnet/minecraft/entity/passive/FoxEntity$Type;
-
NAME_TYPE_MAP
- Mappings:
Namespace Name Mixin selector official d
Lbno$v;d:Ljava/util/Map;
intermediary field_17999
Lnet/minecraft/class_4019$class_4039;field_17999:Ljava/util/Map;
named NAME_TYPE_MAP
Lnet/minecraft/entity/passive/FoxEntity$Type;NAME_TYPE_MAP:Ljava/util/Map;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official e
Lbno$v;e:I
intermediary field_18000
Lnet/minecraft/class_4019$class_4039;field_18000:I
named id
Lnet/minecraft/entity/passive/FoxEntity$Type;id:I
-
key
- Mappings:
Namespace Name Mixin selector official f
Lbno$v;f:Ljava/lang/String;
intermediary field_18001
Lnet/minecraft/class_4019$class_4039;field_18001:Ljava/lang/String;
named key
Lnet/minecraft/entity/passive/FoxEntity$Type;key:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lbno$v;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4019$class_4039;<init>(Ljava/lang/String;IILjava/lang/String;)V
named <init>
Lnet/minecraft/entity/passive/FoxEntity$Type;<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
-
getKey
- Mappings:
Namespace Name Mixin selector official a
Lbno$v;a()Ljava/lang/String;
intermediary method_18310
Lnet/minecraft/class_4019$class_4039;method_18310()Ljava/lang/String;
named getKey
Lnet/minecraft/entity/passive/FoxEntity$Type;getKey()Ljava/lang/String;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official b
Lbno$v;b()I
intermediary method_18317
Lnet/minecraft/class_4019$class_4039;method_18317()I
named getId
Lnet/minecraft/entity/passive/FoxEntity$Type;getId()I
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lbno$v;a(Ljava/lang/String;)Lbno$v;
intermediary method_18314
Lnet/minecraft/class_4019$class_4039;method_18314(Ljava/lang/String;)Lnet/minecraft/class_4019$class_4039;
named byName
Lnet/minecraft/entity/passive/FoxEntity$Type;byName(Ljava/lang/String;)Lnet/minecraft/entity/passive/FoxEntity$Type;
-
fromId
- Mappings:
Namespace Name Mixin selector official a
Lbno$v;a(I)Lbno$v;
intermediary method_18311
Lnet/minecraft/class_4019$class_4039;method_18311(I)Lnet/minecraft/class_4019$class_4039;
named fromId
Lnet/minecraft/entity/passive/FoxEntity$Type;fromId(I)Lnet/minecraft/entity/passive/FoxEntity$Type;
-
fromBiome
- Mappings:
Namespace Name Mixin selector official a
Lbno$v;a(Lhc;)Lbno$v;
intermediary method_18313
Lnet/minecraft/class_4019$class_4039;method_18313(Lnet/minecraft/class_6880;)Lnet/minecraft/class_4019$class_4039;
named fromBiome
Lnet/minecraft/entity/passive/FoxEntity$Type;fromBiome(Lnet/minecraft/util/registry/RegistryEntry;)Lnet/minecraft/entity/passive/FoxEntity$Type;
-