Enum Class TooltipContext.TooltipType

java.lang.Object
java.lang.Enum<TooltipContext.TooltipType>
net.minecraft.client.TooltipContext.TooltipType
All Implemented Interfaces:
Serializable, Comparable<TooltipContext.TooltipType>, Constable, TooltipContext
Enclosing interface:
TooltipContext

@Environment(CLIENT) public static enum TooltipContext.TooltipType extends Enum<TooltipContext.TooltipType> implements TooltipContext
Mappings:
Namespace Name
official akb$a
intermediary net/minecraft/class_3191$class_3192
named net/minecraft/client/TooltipContext$TooltipType
  • Enum Constant Details

    • NORMAL

      public static final TooltipContext.TooltipType NORMAL
      Mappings:
      Namespace Name Mixin selector
      official a Lakb$a;a:Lakb$a;
      intermediary field_15675 Lnet/minecraft/class_3191$class_3192;field_15675:Lnet/minecraft/class_3191$class_3192;
      named NORMAL Lnet/minecraft/client/TooltipContext$TooltipType;NORMAL:Lnet/minecraft/client/TooltipContext$TooltipType;
    • ADVANCED

      public static final TooltipContext.TooltipType ADVANCED
      Mappings:
      Namespace Name Mixin selector
      official b Lakb$a;b:Lakb$a;
      intermediary field_15676 Lnet/minecraft/class_3191$class_3192;field_15676:Lnet/minecraft/class_3191$class_3192;
      named ADVANCED Lnet/minecraft/client/TooltipContext$TooltipType;ADVANCED:Lnet/minecraft/client/TooltipContext$TooltipType;
  • Field Details

    • advanced

      final boolean advanced
      Mappings:
      Namespace Name Mixin selector
      official c Lakb$a;c:Z
      intermediary field_15677 Lnet/minecraft/class_3191$class_3192;field_15677:Z
      named advanced Lnet/minecraft/client/TooltipContext$TooltipType;advanced:Z
  • Constructor Details

    • TooltipType

      private TooltipType(boolean advanced)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakb$a;<init>(Ljava/lang/String;IZ)V
      intermediary <init> Lnet/minecraft/class_3191$class_3192;<init>(Ljava/lang/String;IZ)V
      named <init> Lnet/minecraft/client/TooltipContext$TooltipType;<init>(Ljava/lang/String;IZ)V
  • Method Details

    • values

      public static TooltipContext.TooltipType[] 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 TooltipContext.TooltipType 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
    • isAdvanced

      public boolean isAdvanced()
      Specified by:
      isAdvanced in interface TooltipContext
      Mappings:
      Namespace Name Mixin selector
      official a Lakb;a()Z
      intermediary method_14240 Lnet/minecraft/class_3191;method_14240()Z
      named isAdvanced Lnet/minecraft/client/TooltipContext;isAdvanced()Z