Package net.minecraft.client.gui
Enum Class DrawContext.HoverType
- All Implemented Interfaces:
Serializable,Comparable<DrawContext.HoverType>,Constable
- Enclosing class:
DrawContext
- Mappings:
Namespace Name named net/minecraft/client/gui/DrawContext$HoverTypeintermediary net/minecraft/class_332$class_12228official ggy$a
-
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DrawContext.HoverTypefromTooltip(boolean tooltip) static DrawContext.HoverTypeReturns the enum constant of this class with the specified name.static DrawContext.HoverType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/client/gui/DrawContext$HoverType;NONE:Lnet/minecraft/client/gui/DrawContext$HoverType;intermediary field_63850Lnet/minecraft/class_332$class_12228;field_63850:Lnet/minecraft/class_332$class_12228;official aLggy$a;a:Lggy$a;
-
TOOLTIP_ONLY
- Mappings:
Namespace Name Mixin selector named TOOLTIP_ONLYLnet/minecraft/client/gui/DrawContext$HoverType;TOOLTIP_ONLY:Lnet/minecraft/client/gui/DrawContext$HoverType;intermediary field_63851Lnet/minecraft/class_332$class_12228;field_63851:Lnet/minecraft/class_332$class_12228;official bLggy$a;b:Lggy$a;
-
TOOLTIP_AND_CURSOR
- Mappings:
Namespace Name Mixin selector named TOOLTIP_AND_CURSORLnet/minecraft/client/gui/DrawContext$HoverType;TOOLTIP_AND_CURSOR:Lnet/minecraft/client/gui/DrawContext$HoverType;intermediary field_63852Lnet/minecraft/class_332$class_12228;field_63852:Lnet/minecraft/class_332$class_12228;official cLggy$a;c:Lggy$a;
-
-
Field Details
-
tooltip
public final boolean tooltip- Mappings:
Namespace Name Mixin selector named tooltipLnet/minecraft/client/gui/DrawContext$HoverType;tooltip:Zintermediary field_63853Lnet/minecraft/class_332$class_12228;field_63853:Zofficial dLggy$a;d:Z
-
cursor
public final boolean cursor- Mappings:
Namespace Name Mixin selector named cursorLnet/minecraft/client/gui/DrawContext$HoverType;cursor:Zintermediary field_63854Lnet/minecraft/class_332$class_12228;field_63854:Zofficial eLggy$a;e:Z
-
-
Constructor Details
-
HoverType
private HoverType(boolean tooltip, boolean cursor) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/DrawContext$HoverType;<init>(Ljava/lang/String;IZZ)Vintermediary <init>Lnet/minecraft/class_332$class_12228;<init>(Ljava/lang/String;IZZ)Vofficial <init>Lggy$a;<init>(Ljava/lang/String;IZZ)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
-
fromTooltip
- Mappings:
Namespace Name Mixin selector named fromTooltipLnet/minecraft/client/gui/DrawContext$HoverType;fromTooltip(Z)Lnet/minecraft/client/gui/DrawContext$HoverType;intermediary method_75790Lnet/minecraft/class_332$class_12228;method_75790(Z)Lnet/minecraft/class_332$class_12228;official aLggy$a;a(Z)Lggy$a;
-