Enum Class TooltipContext.Default

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

public static enum TooltipContext.Default extends Enum<TooltipContext.Default> implements TooltipContext
Mappings:
Namespace Name
official cbo$a
intermediary net/minecraft/class_1836$class_1837
named net/minecraft/client/item/TooltipContext$Default
  • Enum Constant Details

    • NORMAL

      public static final TooltipContext.Default NORMAL
      Mappings:
      Namespace Name Mixin selector
      official a Lcbo$a;a:Lcbo$a;
      intermediary field_8934 Lnet/minecraft/class_1836$class_1837;field_8934:Lnet/minecraft/class_1836$class_1837;
      named NORMAL Lnet/minecraft/client/item/TooltipContext$Default;NORMAL:Lnet/minecraft/client/item/TooltipContext$Default;
    • ADVANCED

      public static final TooltipContext.Default ADVANCED
      Mappings:
      Namespace Name Mixin selector
      official b Lcbo$a;b:Lcbo$a;
      intermediary field_8935 Lnet/minecraft/class_1836$class_1837;field_8935:Lnet/minecraft/class_1836$class_1837;
      named ADVANCED Lnet/minecraft/client/item/TooltipContext$Default;ADVANCED:Lnet/minecraft/client/item/TooltipContext$Default;
  • Field Details

    • advanced

      private final boolean advanced
      Mappings:
      Namespace Name Mixin selector
      official c Lcbo$a;c:Z
      intermediary field_8936 Lnet/minecraft/class_1836$class_1837;field_8936:Z
      named advanced Lnet/minecraft/client/item/TooltipContext$Default;advanced:Z
  • Constructor Details

    • Default

      private Default(boolean advanced)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbo$a;<init>(Ljava/lang/String;IZ)V
      intermediary <init> Lnet/minecraft/class_1836$class_1837;<init>(Ljava/lang/String;IZ)V
      named <init> Lnet/minecraft/client/item/TooltipContext$Default;<init>(Ljava/lang/String;IZ)V
  • Method Details

    • values

      public static TooltipContext.Default[] 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.Default 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 Lcbo;a()Z
      intermediary method_8035 Lnet/minecraft/class_1836;method_8035()Z
      named isAdvanced Lnet/minecraft/client/item/TooltipContext;isAdvanced()Z