Package net.minecraft.entity.mob
Enum Class Angriness
- All Implemented Interfaces:
Serializable
,Comparable<Angriness>
,Constable
- Mappings:
Namespace Name named net/minecraft/entity/mob/Angriness
intermediary net/minecraft/class_7253
official cma
-
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 SoundEvent
private final SoundEvent
private final int
private static final Angriness[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
Angriness
(int threshold, SoundEvent sound, SoundEvent listeningSound) -
Method Summary
Modifier and TypeMethodDescriptionstatic Angriness
getForAnger
(int anger) getSound()
int
boolean
isAngry()
static Angriness
Returns the enum constant of this class with the specified name.static Angriness[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CALM
- Mappings:
Namespace Name Mixin selector named CALM
Lnet/minecraft/entity/mob/Angriness;CALM:Lnet/minecraft/entity/mob/Angriness;
intermediary field_38120
Lnet/minecraft/class_7253;field_38120:Lnet/minecraft/class_7253;
official a
Lcma;a:Lcma;
-
AGITATED
- Mappings:
Namespace Name Mixin selector named AGITATED
Lnet/minecraft/entity/mob/Angriness;AGITATED:Lnet/minecraft/entity/mob/Angriness;
intermediary field_38121
Lnet/minecraft/class_7253;field_38121:Lnet/minecraft/class_7253;
official b
Lcma;b:Lcma;
-
ANGRY
- Mappings:
Namespace Name Mixin selector named ANGRY
Lnet/minecraft/entity/mob/Angriness;ANGRY:Lnet/minecraft/entity/mob/Angriness;
intermediary field_38122
Lnet/minecraft/class_7253;field_38122:Lnet/minecraft/class_7253;
official c
Lcma;c:Lcma;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUES
Lnet/minecraft/entity/mob/Angriness;VALUES:[Lnet/minecraft/entity/mob/Angriness;
intermediary field_38123
Lnet/minecraft/class_7253;field_38123:[Lnet/minecraft/class_7253;
official d
Lcma;d:[Lcma;
-
threshold
private final int threshold- Mappings:
Namespace Name Mixin selector named threshold
Lnet/minecraft/entity/mob/Angriness;threshold:I
intermediary field_38124
Lnet/minecraft/class_7253;field_38124:I
official e
Lcma;e:I
-
sound
- Mappings:
Namespace Name Mixin selector named sound
Lnet/minecraft/entity/mob/Angriness;sound:Lnet/minecraft/sound/SoundEvent;
intermediary field_38125
Lnet/minecraft/class_7253;field_38125:Lnet/minecraft/class_3414;
official f
Lcma;f:Lavz;
-
listeningSound
- Mappings:
Namespace Name Mixin selector named listeningSound
Lnet/minecraft/entity/mob/Angriness;listeningSound:Lnet/minecraft/sound/SoundEvent;
intermediary field_38732
Lnet/minecraft/class_7253;field_38732:Lnet/minecraft/class_3414;
official g
Lcma;g:Lavz;
-
-
Constructor Details
-
Angriness
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/mob/Angriness;<init>(Ljava/lang/String;IILnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundEvent;)V
intermediary <init>
Lnet/minecraft/class_7253;<init>(Ljava/lang/String;IILnet/minecraft/class_3414;Lnet/minecraft/class_3414;)V
official <init>
Lcma;<init>(Ljava/lang/String;IILavz;Lavz;)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
-
getThreshold
public int getThreshold()- Mappings:
Namespace Name Mixin selector named getThreshold
Lnet/minecraft/entity/mob/Angriness;getThreshold()I
intermediary method_42170
Lnet/minecraft/class_7253;method_42170()I
official a
Lcma;a()I
-
getSound
- Mappings:
Namespace Name Mixin selector named getSound
Lnet/minecraft/entity/mob/Angriness;getSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_42174
Lnet/minecraft/class_7253;method_42174()Lnet/minecraft/class_3414;
official b
Lcma;b()Lavz;
-
getListeningSound
- Mappings:
Namespace Name Mixin selector named getListeningSound
Lnet/minecraft/entity/mob/Angriness;getListeningSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_43103
Lnet/minecraft/class_7253;method_43103()Lnet/minecraft/class_3414;
official c
Lcma;c()Lavz;
-
getForAnger
- Mappings:
Namespace Name Mixin selector named getForAnger
Lnet/minecraft/entity/mob/Angriness;getForAnger(I)Lnet/minecraft/entity/mob/Angriness;
intermediary method_42171
Lnet/minecraft/class_7253;method_42171(I)Lnet/minecraft/class_7253;
official a
Lcma;a(I)Lcma;
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector named isAngry
Lnet/minecraft/entity/mob/Angriness;isAngry()Z
intermediary method_43691
Lnet/minecraft/class_7253;method_43691()Z
official d
Lcma;d()Z
-