Enum Class DrawContext.HoverType

java.lang.Object
java.lang.Enum<DrawContext.HoverType>
net.minecraft.client.gui.DrawContext.HoverType
All Implemented Interfaces:
Serializable, Comparable<DrawContext.HoverType>, Constable
Enclosing class:
DrawContext

@Environment(CLIENT) public static enum DrawContext.HoverType extends Enum<DrawContext.HoverType>
Mappings:
Namespace Name
named net/minecraft/client/gui/DrawContext$HoverType
intermediary net/minecraft/class_332$class_12228
official ggy$a
  • Enum Constant Details

    • NONE

      public static final DrawContext.HoverType NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/client/gui/DrawContext$HoverType;NONE:Lnet/minecraft/client/gui/DrawContext$HoverType;
      intermediary field_63850 Lnet/minecraft/class_332$class_12228;field_63850:Lnet/minecraft/class_332$class_12228;
      official a Lggy$a;a:Lggy$a;
    • TOOLTIP_ONLY

      public static final DrawContext.HoverType TOOLTIP_ONLY
      Mappings:
      Namespace Name Mixin selector
      named TOOLTIP_ONLY Lnet/minecraft/client/gui/DrawContext$HoverType;TOOLTIP_ONLY:Lnet/minecraft/client/gui/DrawContext$HoverType;
      intermediary field_63851 Lnet/minecraft/class_332$class_12228;field_63851:Lnet/minecraft/class_332$class_12228;
      official b Lggy$a;b:Lggy$a;
    • TOOLTIP_AND_CURSOR

      public static final DrawContext.HoverType TOOLTIP_AND_CURSOR
      Mappings:
      Namespace Name Mixin selector
      named TOOLTIP_AND_CURSOR Lnet/minecraft/client/gui/DrawContext$HoverType;TOOLTIP_AND_CURSOR:Lnet/minecraft/client/gui/DrawContext$HoverType;
      intermediary field_63852 Lnet/minecraft/class_332$class_12228;field_63852:Lnet/minecraft/class_332$class_12228;
      official c Lggy$a;c:Lggy$a;
  • Field Details

    • tooltip

      public final boolean tooltip
      Mappings:
      Namespace Name Mixin selector
      named tooltip Lnet/minecraft/client/gui/DrawContext$HoverType;tooltip:Z
      intermediary field_63853 Lnet/minecraft/class_332$class_12228;field_63853:Z
      official d Lggy$a;d:Z
    • cursor

      public final boolean cursor
      Mappings:
      Namespace Name Mixin selector
      named cursor Lnet/minecraft/client/gui/DrawContext$HoverType;cursor:Z
      intermediary field_63854 Lnet/minecraft/class_332$class_12228;field_63854:Z
      official e Lggy$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)V
      intermediary <init> Lnet/minecraft/class_332$class_12228;<init>(Ljava/lang/String;IZZ)V
      official <init> Lggy$a;<init>(Ljava/lang/String;IZZ)V
  • Method Details

    • values

      public static DrawContext.HoverType[] 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

      public static DrawContext.HoverType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromTooltip

      public static DrawContext.HoverType fromTooltip(boolean tooltip)
      Mappings:
      Namespace Name Mixin selector
      named fromTooltip Lnet/minecraft/client/gui/DrawContext$HoverType;fromTooltip(Z)Lnet/minecraft/client/gui/DrawContext$HoverType;
      intermediary method_75790 Lnet/minecraft/class_332$class_12228;method_75790(Z)Lnet/minecraft/class_332$class_12228;
      official a Lggy$a;a(Z)Lggy$a;