Enum TooltipContext.Default

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

@Environment(CLIENT)
public static enum TooltipContext.Default
extends Enum<TooltipContext.Default>
implements TooltipContext
Mappings:
Namespace Name
official bpi$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 Lbpi$a;a:Lbpi$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 Lbpi$a;b:Lbpi$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 Lbpi$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> Lbpi$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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TooltipContext.Default valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 Lbpi;a()Z
      intermediary method_8035 Lnet/minecraft/class_1836;method_8035()Z
      named isAdvanced Lnet/minecraft/client/item/TooltipContext;isAdvanced()Z