Package net.minecraft.entity.mob
Enum Class Angriness
- All Implemented Interfaces:
Serializable
,Comparable<Angriness>
,Constable
- Mappings:
Namespace Name official bxk
intermediary net/minecraft/class_7253
named 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
-
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 official a
Lbxk;a:Lbxk;
intermediary field_38120
Lnet/minecraft/class_7253;field_38120:Lnet/minecraft/class_7253;
named CALM
Lnet/minecraft/entity/mob/Angriness;CALM:Lnet/minecraft/entity/mob/Angriness;
-
AGITATED
- Mappings:
Namespace Name Mixin selector official b
Lbxk;b:Lbxk;
intermediary field_38121
Lnet/minecraft/class_7253;field_38121:Lnet/minecraft/class_7253;
named AGITATED
Lnet/minecraft/entity/mob/Angriness;AGITATED:Lnet/minecraft/entity/mob/Angriness;
-
ANGRY
- Mappings:
Namespace Name Mixin selector official c
Lbxk;c:Lbxk;
intermediary field_38122
Lnet/minecraft/class_7253;field_38122:Lnet/minecraft/class_7253;
named ANGRY
Lnet/minecraft/entity/mob/Angriness;ANGRY:Lnet/minecraft/entity/mob/Angriness;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official d
Lbxk;d:[Lbxk;
intermediary field_38123
Lnet/minecraft/class_7253;field_38123:[Lnet/minecraft/class_7253;
named VALUES
Lnet/minecraft/entity/mob/Angriness;VALUES:[Lnet/minecraft/entity/mob/Angriness;
-
threshold
private final int threshold- Mappings:
Namespace Name Mixin selector official e
Lbxk;e:I
intermediary field_38124
Lnet/minecraft/class_7253;field_38124:I
named threshold
Lnet/minecraft/entity/mob/Angriness;threshold:I
-
sound
- Mappings:
Namespace Name Mixin selector official f
Lbxk;f:Lame;
intermediary field_38125
Lnet/minecraft/class_7253;field_38125:Lnet/minecraft/class_3414;
named sound
Lnet/minecraft/entity/mob/Angriness;sound:Lnet/minecraft/sound/SoundEvent;
-
listeningSound
- Mappings:
Namespace Name Mixin selector official g
Lbxk;g:Lame;
intermediary field_38732
Lnet/minecraft/class_7253;field_38732:Lnet/minecraft/class_3414;
named listeningSound
Lnet/minecraft/entity/mob/Angriness;listeningSound:Lnet/minecraft/sound/SoundEvent;
-
-
Constructor Details
-
Angriness
- Mappings:
Namespace Name Mixin selector official <init>
Lbxk;<init>(Ljava/lang/String;IILame;Lame;)V
intermediary <init>
Lnet/minecraft/class_7253;<init>(Ljava/lang/String;IILnet/minecraft/class_3414;Lnet/minecraft/class_3414;)V
named <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 a
Lbxk;a()I
intermediary method_42170
Lnet/minecraft/class_7253;method_42170()I
named getThreshold
Lnet/minecraft/entity/mob/Angriness;getThreshold()I
-
getSound
- Mappings:
Namespace Name Mixin selector official b
Lbxk;b()Lame;
intermediary method_42174
Lnet/minecraft/class_7253;method_42174()Lnet/minecraft/class_3414;
named getSound
Lnet/minecraft/entity/mob/Angriness;getSound()Lnet/minecraft/sound/SoundEvent;
-
getListeningSound
- Mappings:
Namespace Name Mixin selector official c
Lbxk;c()Lame;
intermediary method_43103
Lnet/minecraft/class_7253;method_43103()Lnet/minecraft/class_3414;
named getListeningSound
Lnet/minecraft/entity/mob/Angriness;getListeningSound()Lnet/minecraft/sound/SoundEvent;
-
getForAnger
- Mappings:
Namespace Name Mixin selector official a
Lbxk;a(I)Lbxk;
intermediary method_42171
Lnet/minecraft/class_7253;method_42171(I)Lnet/minecraft/class_7253;
named getForAnger
Lnet/minecraft/entity/mob/Angriness;getForAnger(I)Lnet/minecraft/entity/mob/Angriness;
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector official d
Lbxk;d()Z
intermediary method_43691
Lnet/minecraft/class_7253;method_43691()Z
named isAngry
Lnet/minecraft/entity/mob/Angriness;isAngry()Z
-