Package net.minecraft.item
Enum Class AnimalArmorItem.Type
- All Implemented Interfaces:
Serializable,Comparable<AnimalArmorItem.Type>,Constable
- Enclosing class:
AnimalArmorItem
- Mappings:
Namespace Name named net/minecraft/item/AnimalArmorItem$Typeintermediary net/minecraft/class_4059$class_9076official cse$a
-
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 TypeFieldDescription(package private) final SoundEvent(package private) final Function<Identifier, Identifier> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateType(Function<Identifier, Identifier> textureIdFunction, SoundEvent breakSound) -
Method Summary
Modifier and TypeMethodDescriptionstatic AnimalArmorItem.TypeReturns the enum constant of this class with the specified name.static AnimalArmorItem.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUESTRIAN
- Mappings:
Namespace Name Mixin selector named EQUESTRIANLnet/minecraft/item/AnimalArmorItem$Type;EQUESTRIAN:Lnet/minecraft/item/AnimalArmorItem$Type;intermediary field_47825Lnet/minecraft/class_4059$class_9076;field_47825:Lnet/minecraft/class_4059$class_9076;official aLcse$a;a:Lcse$a;
-
CANINE
- Mappings:
Namespace Name Mixin selector named CANINELnet/minecraft/item/AnimalArmorItem$Type;CANINE:Lnet/minecraft/item/AnimalArmorItem$Type;intermediary field_47826Lnet/minecraft/class_4059$class_9076;field_47826:Lnet/minecraft/class_4059$class_9076;official bLcse$a;b:Lcse$a;
-
-
Field Details
-
textureIdFunction
- Mappings:
Namespace Name Mixin selector named textureIdFunctionLnet/minecraft/item/AnimalArmorItem$Type;textureIdFunction:Ljava/util/function/Function;intermediary field_47827Lnet/minecraft/class_4059$class_9076;field_47827:Ljava/util/function/Function;official cLcse$a;c:Ljava/util/function/Function;
-
breakSound
- Mappings:
Namespace Name Mixin selector named breakSoundLnet/minecraft/item/AnimalArmorItem$Type;breakSound:Lnet/minecraft/sound/SoundEvent;intermediary field_49256Lnet/minecraft/class_4059$class_9076;field_49256:Lnet/minecraft/class_3414;official dLcse$a;d:Lavo;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/item/AnimalArmorItem$Type;<init>(Ljava/lang/String;ILjava/util/function/Function;Lnet/minecraft/sound/SoundEvent;)Vintermediary <init>Lnet/minecraft/class_4059$class_9076;<init>(Ljava/lang/String;ILjava/util/function/Function;Lnet/minecraft/class_3414;)Vofficial <init>Lcse$a;<init>(Ljava/lang/String;ILjava/util/function/Function;Lavo;)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
-