Package net.minecraft.client.item
Enum Class 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 bsc$a
intermediary net/minecraft/class_1836$class_1837
named net/minecraft/client/item/TooltipContext$Default
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.client.item.TooltipContext
TooltipContext.Default
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static TooltipContext.Default
Returns the enum constant of this class with the specified name.static TooltipContext.Default[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official a
Lbsc$a;a:Lbsc$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
- Mappings:
Namespace Name Mixin selector official b
Lbsc$a;b:Lbsc$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
Lbsc$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>
Lbsc$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
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
-
isAdvanced
public boolean isAdvanced()- Specified by:
isAdvanced
in interfaceTooltipContext
- Mappings:
Namespace Name Mixin selector official a
Lbsc;a()Z
intermediary method_8035
Lnet/minecraft/class_1836;method_8035()Z
named isAdvanced
Lnet/minecraft/client/item/TooltipContext;isAdvanced()Z
-