Package net.minecraft.client.option
Enum Class AttackIndicator
- All Implemented Interfaces:
Serializable
,Comparable<AttackIndicator>
,Constable
- Mappings:
Namespace Name official dya
intermediary net/minecraft/class_4061
named net/minecraft/client/option/AttackIndicator
-
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 AttackIndicator[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttackIndicator
byId
(int id) int
getId()
static AttackIndicator
Returns the enum constant of this class with the specified name.static AttackIndicator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFF
- Mappings:
Namespace Name Mixin selector official a
Ldya;a:Ldya;
intermediary field_18151
Lnet/minecraft/class_4061;field_18151:Lnet/minecraft/class_4061;
named OFF
Lnet/minecraft/client/option/AttackIndicator;OFF:Lnet/minecraft/client/option/AttackIndicator;
-
CROSSHAIR
- Mappings:
Namespace Name Mixin selector official b
Ldya;b:Ldya;
intermediary field_18152
Lnet/minecraft/class_4061;field_18152:Lnet/minecraft/class_4061;
named CROSSHAIR
Lnet/minecraft/client/option/AttackIndicator;CROSSHAIR:Lnet/minecraft/client/option/AttackIndicator;
-
HOTBAR
- Mappings:
Namespace Name Mixin selector official c
Ldya;c:Ldya;
intermediary field_18153
Lnet/minecraft/class_4061;field_18153:Lnet/minecraft/class_4061;
named HOTBAR
Lnet/minecraft/client/option/AttackIndicator;HOTBAR:Lnet/minecraft/client/option/AttackIndicator;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official d
Ldya;d:[Ldya;
intermediary field_18154
Lnet/minecraft/class_4061;field_18154:[Lnet/minecraft/class_4061;
named VALUES
Lnet/minecraft/client/option/AttackIndicator;VALUES:[Lnet/minecraft/client/option/AttackIndicator;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official e
Ldya;e:I
intermediary field_18155
Lnet/minecraft/class_4061;field_18155:I
named id
Lnet/minecraft/client/option/AttackIndicator;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official f
Ldya;f:Ljava/lang/String;
intermediary field_18156
Lnet/minecraft/class_4061;field_18156:Ljava/lang/String;
named translationKey
Lnet/minecraft/client/option/AttackIndicator;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
AttackIndicator
- Mappings:
Namespace Name Mixin selector official <init>
Ldya;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4061;<init>(Ljava/lang/String;IILjava/lang/String;)V
named <init>
Lnet/minecraft/client/option/AttackIndicator;<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
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official a
Ldya;a()I
intermediary method_18487
Lnet/minecraft/class_4061;method_18487()I
named getId
Lnet/minecraft/client/option/AttackIndicator;getId()I
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official b
Ldya;b()Ljava/lang/String;
intermediary method_18489
Lnet/minecraft/class_4061;method_18489()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/client/option/AttackIndicator;getTranslationKey()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector official a
Ldya;a(I)Ldya;
intermediary method_18488
Lnet/minecraft/class_4061;method_18488(I)Lnet/minecraft/class_4061;
named byId
Lnet/minecraft/client/option/AttackIndicator;byId(I)Lnet/minecraft/client/option/AttackIndicator;
-