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 faj$aintermediary net/minecraft/class_5682$class_5771named 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
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
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 aLfaj$a;a:Lfaj$a;intermediary field_28362Lnet/minecraft/class_5682$class_5771;field_28362:Lnet/minecraft/class_5682$class_5771;named BLOCKED_SLOTLnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;BLOCKED_SLOT:Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;
-
SLOT
- Mappings:
Namespace Name Mixin selector official bLfaj$a;b:Lfaj$a;intermediary field_28361Lnet/minecraft/class_5682$class_5771;field_28361:Lnet/minecraft/class_5682$class_5771;named SLOTLnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;SLOT:Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;
-
-
Field Details
-
texture
- Mappings:
Namespace Name Mixin selector official cLfaj$a;c:Laep;intermediary field_45507Lnet/minecraft/class_5682$class_5771;field_45507:Lnet/minecraft/class_2960;named textureLnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;texture:Lnet/minecraft/util/Identifier;
-
width
public final int width- Mappings:
Namespace Name Mixin selector official dLfaj$a;d:Iintermediary field_28370Lnet/minecraft/class_5682$class_5771;field_28370:Inamed widthLnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;width:I
-
height
public final int height- Mappings:
Namespace Name Mixin selector official eLfaj$a;e:Iintermediary field_28371Lnet/minecraft/class_5682$class_5771;field_28371:Inamed heightLnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;height:I
-
-
Constructor Details
-
Sprite
- Mappings:
Namespace Name Mixin selector official <init>Lfaj$a;<init>(Ljava/lang/String;ILaep;II)Vintermediary <init>Lnet/minecraft/class_5682$class_5771;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;II)Vnamed <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
-