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 geq
-
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 static final IntFunction<AttackIndicator> static final com.mojang.serialization.Codec<AttackIndicator> private final intprivate final Text -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetText()static 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 aLgeq;a:Lgeq;
-
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 bLgeq;b:Lgeq;
-
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 cLgeq;c:Lgeq;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/client/option/AttackIndicator;BY_ID:Ljava/util/function/IntFunction;intermediary field_64419Lnet/minecraft/class_4061;field_64419:Ljava/util/function/IntFunction;official eLgeq;e:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/option/AttackIndicator;CODEC:Lcom/mojang/serialization/Codec;intermediary field_64418Lnet/minecraft/class_4061;field_64418:Lcom/mojang/serialization/Codec;official dLgeq;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 fLgeq;f:I
-
text
- Mappings:
Namespace Name Mixin selector named textLnet/minecraft/client/option/AttackIndicator;text:Lnet/minecraft/text/Text;intermediary field_64420Lnet/minecraft/class_4061;field_64420:Lnet/minecraft/class_2561;official gLgeq;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>Lgeq;<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
-
getText
- Mappings:
Namespace Name Mixin selector named getTextLnet/minecraft/client/option/AttackIndicator;getText()Lnet/minecraft/text/Text;intermediary method_76522Lnet/minecraft/class_4061;method_76522()Lnet/minecraft/class_2561;official aLgeq;a()Lyh;
-