Package net.minecraft.client.option
Enum Class AttackIndicator
- All Implemented Interfaces:
Serializable,Comparable<AttackIndicator>,Constable
- Mappings:
Namespace Name named net/minecraft/client/option/AttackIndicatorintermediary net/minecraft/class_4061official gdj
-
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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AttackIndicator> private static final IntFunction<AttackIndicator> private final Textprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttackIndicatorReturns 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 named OFFLnet/minecraft/client/option/AttackIndicator;OFF:Lnet/minecraft/client/option/AttackIndicator;intermediary field_18151Lnet/minecraft/class_4061;field_18151:Lnet/minecraft/class_4061;official aLgdj;a:Lgdj;
-
CROSSHAIR
- Mappings:
Namespace Name Mixin selector named CROSSHAIRLnet/minecraft/client/option/AttackIndicator;CROSSHAIR:Lnet/minecraft/client/option/AttackIndicator;intermediary field_18152Lnet/minecraft/class_4061;field_18152:Lnet/minecraft/class_4061;official bLgdj;b:Lgdj;
-
HOTBAR
- Mappings:
Namespace Name Mixin selector named HOTBARLnet/minecraft/client/option/AttackIndicator;HOTBAR:Lnet/minecraft/client/option/AttackIndicator;intermediary field_18153Lnet/minecraft/class_4061;field_18153:Lnet/minecraft/class_4061;official cLgdj;c:Lgdj;
-
-
Field Details
-
field_64419
- Mappings:
Namespace Name Mixin selector named field_64419Lnet/minecraft/client/option/AttackIndicator;field_64419:Ljava/util/function/IntFunction;intermediary field_64419Lnet/minecraft/class_4061;field_64419:Ljava/util/function/IntFunction;official eLgdj;e:Ljava/util/function/IntFunction;
-
field_64418
- Mappings:
Namespace Name Mixin selector named field_64418Lnet/minecraft/client/option/AttackIndicator;field_64418:Lcom/mojang/serialization/Codec;intermediary field_64418Lnet/minecraft/class_4061;field_64418:Lcom/mojang/serialization/Codec;official dLgdj;d:Lcom/mojang/serialization/Codec;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/option/AttackIndicator;id:Iintermediary field_18155Lnet/minecraft/class_4061;field_18155:Iofficial fLgdj;f:I
-
field_64420
- Mappings:
Namespace Name Mixin selector named field_64420Lnet/minecraft/client/option/AttackIndicator;field_64420:Lnet/minecraft/text/Text;intermediary field_64420Lnet/minecraft/class_4061;field_64420:Lnet/minecraft/class_2561;official gLgdj;g:Lyh;
-
-
Constructor Details
-
AttackIndicator
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/option/AttackIndicator;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4061;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lgdj;<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
-
method_76522
- Mappings:
Namespace Name Mixin selector named method_76522Lnet/minecraft/client/option/AttackIndicator;method_76522()Lnet/minecraft/text/Text;intermediary method_76522Lnet/minecraft/class_4061;method_76522()Lnet/minecraft/class_2561;official aLgdj;a()Lyh;
-