Enum Class BundleTooltipComponent.SlotSprite

java.lang.Object
java.lang.Enum<BundleTooltipComponent.SlotSprite>
net.minecraft.client.gui.tooltip.BundleTooltipComponent.SlotSprite
All Implemented Interfaces:
Serializable, Comparable<BundleTooltipComponent.SlotSprite>, Constable
Enclosing class:
BundleTooltipComponent

@Environment(CLIENT) private static enum BundleTooltipComponent.SlotSprite extends Enum<BundleTooltipComponent.SlotSprite>
Mappings:
Namespace Name
named net/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite
intermediary net/minecraft/class_5682$class_5771
official fpu$a
  • Enum Constant Details

    • BLOCKED_SLOT

      public static final BundleTooltipComponent.SlotSprite BLOCKED_SLOT
      Mappings:
      Namespace Name Mixin selector
      named BLOCKED_SLOT Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;BLOCKED_SLOT:Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;
      intermediary field_28362 Lnet/minecraft/class_5682$class_5771;field_28362:Lnet/minecraft/class_5682$class_5771;
      official a Lfpu$a;a:Lfpu$a;
    • SLOT

      public static final BundleTooltipComponent.SlotSprite SLOT
      Mappings:
      Namespace Name Mixin selector
      named SLOT Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;SLOT:Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;
      intermediary field_28361 Lnet/minecraft/class_5682$class_5771;field_28361:Lnet/minecraft/class_5682$class_5771;
      official b Lfpu$a;b:Lfpu$a;
  • Field Details

    • texture

      public final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      named texture Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;texture:Lnet/minecraft/util/Identifier;
      intermediary field_45507 Lnet/minecraft/class_5682$class_5771;field_45507:Lnet/minecraft/class_2960;
      official c Lfpu$a;c:Lalf;
    • width

      public final int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;width:I
      intermediary field_28370 Lnet/minecraft/class_5682$class_5771;field_28370:I
      official d Lfpu$a;d:I
    • height

      public final int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;height:I
      intermediary field_28371 Lnet/minecraft/class_5682$class_5771;field_28371:I
      official e Lfpu$a;e:I
  • Constructor Details

    • SlotSprite

      private SlotSprite(Identifier texture, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;II)V
      intermediary <init> Lnet/minecraft/class_5682$class_5771;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;II)V
      official <init> Lfpu$a;<init>(Ljava/lang/String;ILalf;II)V
  • Method Details

    • values

      public static BundleTooltipComponent.SlotSprite[] 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 BundleTooltipComponent.SlotSprite 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