Package net.minecraft.entity.mob
Enum Class Angriness
- All Implemented Interfaces:
Serializable,Comparable<Angriness>,Constable
- Mappings:
Namespace Name official bxointermediary net/minecraft/class_7253named net/minecraft/entity/mob/Angriness
-
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 TypeFieldDescriptionprivate final SoundEventprivate final SoundEventprivate final intprivate static final Angriness[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAngriness(int threshold, SoundEvent sound, SoundEvent listeningSound) -
Method Summary
Modifier and TypeMethodDescriptionstatic AngrinessgetForAnger(int anger) getSound()intbooleanisAngry()static AngrinessReturns 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 official aLbxo;a:Lbxo;intermediary field_38120Lnet/minecraft/class_7253;field_38120:Lnet/minecraft/class_7253;named CALMLnet/minecraft/entity/mob/Angriness;CALM:Lnet/minecraft/entity/mob/Angriness;
-
AGITATED
- Mappings:
Namespace Name Mixin selector official bLbxo;b:Lbxo;intermediary field_38121Lnet/minecraft/class_7253;field_38121:Lnet/minecraft/class_7253;named AGITATEDLnet/minecraft/entity/mob/Angriness;AGITATED:Lnet/minecraft/entity/mob/Angriness;
-
ANGRY
- Mappings:
Namespace Name Mixin selector official cLbxo;c:Lbxo;intermediary field_38122Lnet/minecraft/class_7253;field_38122:Lnet/minecraft/class_7253;named ANGRYLnet/minecraft/entity/mob/Angriness;ANGRY:Lnet/minecraft/entity/mob/Angriness;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official dLbxo;d:[Lbxo;intermediary field_38123Lnet/minecraft/class_7253;field_38123:[Lnet/minecraft/class_7253;named VALUESLnet/minecraft/entity/mob/Angriness;VALUES:[Lnet/minecraft/entity/mob/Angriness;
-
threshold
private final int threshold- Mappings:
Namespace Name Mixin selector official eLbxo;e:Iintermediary field_38124Lnet/minecraft/class_7253;field_38124:Inamed thresholdLnet/minecraft/entity/mob/Angriness;threshold:I
-
sound
- Mappings:
Namespace Name Mixin selector official fLbxo;f:Lamg;intermediary field_38125Lnet/minecraft/class_7253;field_38125:Lnet/minecraft/class_3414;named soundLnet/minecraft/entity/mob/Angriness;sound:Lnet/minecraft/sound/SoundEvent;
-
listeningSound
- Mappings:
Namespace Name Mixin selector official gLbxo;g:Lamg;intermediary field_38732Lnet/minecraft/class_7253;field_38732:Lnet/minecraft/class_3414;named listeningSoundLnet/minecraft/entity/mob/Angriness;listeningSound:Lnet/minecraft/sound/SoundEvent;
-
-
Constructor Details
-
Angriness
- Mappings:
Namespace Name Mixin selector official <init>Lbxo;<init>(Ljava/lang/String;IILamg;Lamg;)Vintermediary <init>Lnet/minecraft/class_7253;<init>(Ljava/lang/String;IILnet/minecraft/class_3414;Lnet/minecraft/class_3414;)Vnamed <init>Lnet/minecraft/entity/mob/Angriness;<init>(Ljava/lang/String;IILnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundEvent;)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 official aLbxo;a()Iintermediary method_42170Lnet/minecraft/class_7253;method_42170()Inamed getThresholdLnet/minecraft/entity/mob/Angriness;getThreshold()I
-
getSound
- Mappings:
Namespace Name Mixin selector official bLbxo;b()Lamg;intermediary method_42174Lnet/minecraft/class_7253;method_42174()Lnet/minecraft/class_3414;named getSoundLnet/minecraft/entity/mob/Angriness;getSound()Lnet/minecraft/sound/SoundEvent;
-
getListeningSound
- Mappings:
Namespace Name Mixin selector official cLbxo;c()Lamg;intermediary method_43103Lnet/minecraft/class_7253;method_43103()Lnet/minecraft/class_3414;named getListeningSoundLnet/minecraft/entity/mob/Angriness;getListeningSound()Lnet/minecraft/sound/SoundEvent;
-
getForAnger
- Mappings:
Namespace Name Mixin selector official aLbxo;a(I)Lbxo;intermediary method_42171Lnet/minecraft/class_7253;method_42171(I)Lnet/minecraft/class_7253;named getForAngerLnet/minecraft/entity/mob/Angriness;getForAnger(I)Lnet/minecraft/entity/mob/Angriness;
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector official dLbxo;d()Zintermediary method_43691Lnet/minecraft/class_7253;method_43691()Znamed isAngryLnet/minecraft/entity/mob/Angriness;isAngry()Z
-