Package net.minecraft.client.gui.tooltip
Enum Class BundleTooltipComponent.Sprite
java.lang.Object
java.lang.Enum<BundleTooltipComponent.Sprite>
net.minecraft.client.gui.tooltip.BundleTooltipComponent.Sprite
- All Implemented Interfaces:
Serializable
,Comparable<BundleTooltipComponent.Sprite>
,Constable
- Enclosing class:
BundleTooltipComponent
@Environment(CLIENT)
private static enum BundleTooltipComponent.Sprite
extends Enum<BundleTooltipComponent.Sprite>
- Mappings:
Namespace Name official ffr$a
intermediary net/minecraft/class_5682$class_5771
named net/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BundleTooltipComponent.Sprite[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLOCKED_SLOT
- Mappings:
Namespace Name Mixin selector official a
Lffr$a;a:Lffr$a;
intermediary field_28362
Lnet/minecraft/class_5682$class_5771;field_28362:Lnet/minecraft/class_5682$class_5771;
named BLOCKED_SLOT
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;BLOCKED_SLOT:Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;
-
SLOT
- Mappings:
Namespace Name Mixin selector official b
Lffr$a;b:Lffr$a;
intermediary field_28361
Lnet/minecraft/class_5682$class_5771;field_28361:Lnet/minecraft/class_5682$class_5771;
named SLOT
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;SLOT:Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;
-
-
Field Details
-
texture
- Mappings:
Namespace Name Mixin selector official c
Lffr$a;c:Lahg;
intermediary field_45507
Lnet/minecraft/class_5682$class_5771;field_45507:Lnet/minecraft/class_2960;
named texture
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;texture:Lnet/minecraft/util/Identifier;
-
width
public final int width- Mappings:
Namespace Name Mixin selector official d
Lffr$a;d:I
intermediary field_28370
Lnet/minecraft/class_5682$class_5771;field_28370:I
named width
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;width:I
-
height
public final int height- Mappings:
Namespace Name Mixin selector official e
Lffr$a;e:I
intermediary field_28371
Lnet/minecraft/class_5682$class_5771;field_28371:I
named height
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;height:I
-
-
Constructor Details
-
Sprite
- Mappings:
Namespace Name Mixin selector official <init>
Lffr$a;<init>(Ljava/lang/String;ILahg;II)V
intermediary <init>
Lnet/minecraft/class_5682$class_5771;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;II)V
named <init>
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;II)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
-