Class BundleTooltipComponent

java.lang.Object
net.minecraft.client.gui.tooltip.BundleTooltipComponent
All Implemented Interfaces:
TooltipComponent

@Environment(CLIENT) public class BundleTooltipComponent extends Object implements TooltipComponent
Mappings:
Namespace Name
named net/minecraft/client/gui/tooltip/BundleTooltipComponent
intermediary net/minecraft/class_5682
official fwu
  • Field Details Link icon

    • BUNDLE_PROGRESS_BAR_BORDER_TEXTURE Link icon

      private static final Identifier BUNDLE_PROGRESS_BAR_BORDER_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_PROGRESS_BAR_BORDER_TEXTURE Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_PROGRESS_BAR_BORDER_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_52812 Lnet/minecraft/class_5682;field_52812:Lnet/minecraft/class_2960;
      official a Lfwu;a:Lakv;
    • BUNDLE_PROGRESS_BAR_FILL_TEXTURE Link icon

      private static final Identifier BUNDLE_PROGRESS_BAR_FILL_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_PROGRESS_BAR_FILL_TEXTURE Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_PROGRESS_BAR_FILL_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54011 Lnet/minecraft/class_5682;field_54011:Lnet/minecraft/class_2960;
      official b Lfwu;b:Lakv;
    • BUNDLE_PROGRESS_BAR_FULL_TEXTURE Link icon

      private static final Identifier BUNDLE_PROGRESS_BAR_FULL_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_PROGRESS_BAR_FULL_TEXTURE Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_PROGRESS_BAR_FULL_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54012 Lnet/minecraft/class_5682;field_54012:Lnet/minecraft/class_2960;
      official c Lfwu;c:Lakv;
    • BUNDLE_SLOT_HIGHLIGHT_BACK_TEXTURE Link icon

      private static final Identifier BUNDLE_SLOT_HIGHLIGHT_BACK_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_SLOT_HIGHLIGHT_BACK_TEXTURE Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_SLOT_HIGHLIGHT_BACK_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54270 Lnet/minecraft/class_5682;field_54270:Lnet/minecraft/class_2960;
      official d Lfwu;d:Lakv;
    • BUNDLE_SLOT_HIGHLIGHT_FRONT_TEXTURE Link icon

      private static final Identifier BUNDLE_SLOT_HIGHLIGHT_FRONT_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_SLOT_HIGHLIGHT_FRONT_TEXTURE Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_SLOT_HIGHLIGHT_FRONT_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54271 Lnet/minecraft/class_5682;field_54271:Lnet/minecraft/class_2960;
      official e Lfwu;e:Lakv;
    • BUNDLE_SLOT_BACKGROUND_TEXTURE Link icon

      private static final Identifier BUNDLE_SLOT_BACKGROUND_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_SLOT_BACKGROUND_TEXTURE Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_SLOT_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54972 Lnet/minecraft/class_5682;field_54972:Lnet/minecraft/class_2960;
      official f Lfwu;f:Lakv;
    • SLOTS_PER_ROW Link icon

      private static final int SLOTS_PER_ROW
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SLOTS_PER_ROW Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;SLOTS_PER_ROW:I
      intermediary field_52813 Lnet/minecraft/class_5682;field_52813:I
      official g Lfwu;g:I
    • SLOT_DIMENSION Link icon

      private static final int SLOT_DIMENSION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SLOT_DIMENSION Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;SLOT_DIMENSION:I
      intermediary field_52814 Lnet/minecraft/class_5682;field_52814:I
      official h Lfwu;h:I
    • ROW_WIDTH Link icon

      private static final int ROW_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ROW_WIDTH Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;ROW_WIDTH:I
      intermediary field_52815 Lnet/minecraft/class_5682;field_52815:I
      official i Lfwu;i:I
    • field_52816 Link icon

      private static final int field_52816
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52816 Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_52816:I
      intermediary field_52816 Lnet/minecraft/class_5682;field_52816:I
      official j Lfwu;j:I
    • field_52817 Link icon

      private static final int field_52817
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52817 Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_52817:I
      intermediary field_52817 Lnet/minecraft/class_5682;field_52817:I
      official k Lfwu;k:I
    • field_52818 Link icon

      private static final int field_52818
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52818 Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_52818:I
      intermediary field_52818 Lnet/minecraft/class_5682;field_52818:I
      official l Lfwu;l:I
    • PROGRESS_BAR_WIDTH Link icon

      private static final int PROGRESS_BAR_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROGRESS_BAR_WIDTH Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;PROGRESS_BAR_WIDTH:I
      intermediary field_52819 Lnet/minecraft/class_5682;field_52819:I
      official m Lfwu;m:I
    • field_52820 Link icon

      private static final int field_52820
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52820 Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_52820:I
      intermediary field_52820 Lnet/minecraft/class_5682;field_52820:I
      official n Lfwu;n:I
    • BUNDLE_FULL Link icon

      private static final Text BUNDLE_FULL
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_FULL Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_FULL:Lnet/minecraft/text/Text;
      intermediary field_52821 Lnet/minecraft/class_5682;field_52821:Lnet/minecraft/class_2561;
      official o Lfwu;o:Lwp;
    • BUNDLE_EMPTY Link icon

      private static final Text BUNDLE_EMPTY
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_EMPTY Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_EMPTY:Lnet/minecraft/text/Text;
      intermediary field_52822 Lnet/minecraft/class_5682;field_52822:Lnet/minecraft/class_2561;
      official p Lfwu;p:Lwp;
    • BUNDLE_EMPTY_DESCRIPTION Link icon

      private static final Text BUNDLE_EMPTY_DESCRIPTION
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_EMPTY_DESCRIPTION Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BUNDLE_EMPTY_DESCRIPTION:Lnet/minecraft/text/Text;
      intermediary field_52823 Lnet/minecraft/class_5682;field_52823:Lnet/minecraft/class_2561;
      official q Lfwu;q:Lwp;
    • bundleContents Link icon

      private final BundleContentsComponent bundleContents
      Mappings:
      Namespace Name Mixin selector
      named bundleContents Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;bundleContents:Lnet/minecraft/component/type/BundleContentsComponent;
      intermediary field_49537 Lnet/minecraft/class_5682;field_49537:Lnet/minecraft/class_9276;
      official r Lfwu;r:Lcyu;
  • Constructor Details Link icon

    • BundleTooltipComponent Link icon

      public BundleTooltipComponent(BundleContentsComponent bundleContents)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;<init>(Lnet/minecraft/component/type/BundleContentsComponent;)V
      intermediary <init> Lnet/minecraft/class_5682;<init>(Lnet/minecraft/class_9276;)V
      official <init> Lfwu;<init>(Lcyu;)V
  • Method Details Link icon

    • getHeight Link icon

      public int getHeight(TextRenderer textRenderer)
      Specified by:
      getHeight in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight(Lnet/minecraft/client/font/TextRenderer;)I
      intermediary method_32661 Lnet/minecraft/class_5684;method_32661(Lnet/minecraft/class_327;)I
      official a Lfww;a(Lfod;)I
    • getWidth Link icon

      public int getWidth(TextRenderer textRenderer)
      Specified by:
      getWidth in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/gui/tooltip/TooltipComponent;getWidth(Lnet/minecraft/client/font/TextRenderer;)I
      intermediary method_32664 Lnet/minecraft/class_5684;method_32664(Lnet/minecraft/class_327;)I
      official b Lfww;b(Lfod;)I
    • isSticky Link icon

      public boolean isSticky()
      Returns whether this tooltip component should be visible when the item that it is on is focused, regardless of whether the cursor is hovering over another item.
      Specified by:
      isSticky in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named isSticky Lnet/minecraft/client/gui/tooltip/TooltipComponent;isSticky()Z
      intermediary method_62003 Lnet/minecraft/class_5684;method_62003()Z
      official a Lfww;a()Z
    • getHeightOfEmpty Link icon

      private static int getHeightOfEmpty(TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      named getHeightOfEmpty Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getHeightOfEmpty(Lnet/minecraft/client/font/TextRenderer;)I
      intermediary method_62016 Lnet/minecraft/class_5682;method_62016(Lnet/minecraft/class_327;)I
      official c Lfwu;c(Lfod;)I
    • getHeightOfNonEmpty Link icon

      private int getHeightOfNonEmpty()
      Mappings:
      Namespace Name Mixin selector
      named getHeightOfNonEmpty Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getHeightOfNonEmpty()I
      intermediary method_52756 Lnet/minecraft/class_5682;method_52756()I
      official b Lfwu;b()I
    • getRowsHeight Link icon

      private int getRowsHeight()
      Mappings:
      Namespace Name Mixin selector
      named getRowsHeight Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getRowsHeight()I
      intermediary method_62015 Lnet/minecraft/class_5682;method_62015()I
      official c Lfwu;c()I
    • getXMargin Link icon

      private int getXMargin(int width)
      Mappings:
      Namespace Name Mixin selector
      named getXMargin Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getXMargin(I)I
      intermediary method_63508 Lnet/minecraft/class_5682;method_63508(I)I
      official a Lfwu;a(I)I
    • getRows Link icon

      private int getRows()
      Mappings:
      Namespace Name Mixin selector
      named getRows Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getRows()I
      intermediary method_33290 Lnet/minecraft/class_5682;method_33290()I
      official d Lfwu;d()I
    • getNumVisibleSlots Link icon

      private int getNumVisibleSlots()
      Mappings:
      Namespace Name Mixin selector
      named getNumVisibleSlots Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getNumVisibleSlots()I
      intermediary method_62019 Lnet/minecraft/class_5682;method_62019()I
      official e Lfwu;e()I
    • drawItems Link icon

      public void drawItems(TextRenderer textRenderer, int x, int y, int width, int height, DrawContext context)
      Specified by:
      drawItems in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named drawItems Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawItems(Lnet/minecraft/client/font/TextRenderer;IIIILnet/minecraft/client/gui/DrawContext;)V
      intermediary method_32666 Lnet/minecraft/class_5684;method_32666(Lnet/minecraft/class_327;IIIILnet/minecraft/class_332;)V
      official a Lfww;a(Lfod;IIIILfof;)V
    • drawEmptyTooltip Link icon

      private void drawEmptyTooltip(TextRenderer textRenderer, int x, int y, int width, int height, DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawEmptyTooltip Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawEmptyTooltip(Lnet/minecraft/client/font/TextRenderer;IIIILnet/minecraft/client/gui/DrawContext;)V
      intermediary method_62014 Lnet/minecraft/class_5682;method_62014(Lnet/minecraft/class_327;IIIILnet/minecraft/class_332;)V
      official b Lfwu;b(Lfod;IIIILfof;)V
    • drawNonEmptyTooltip Link icon

      private void drawNonEmptyTooltip(TextRenderer textRenderer, int x, int y, int width, int height, DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawNonEmptyTooltip Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawNonEmptyTooltip(Lnet/minecraft/client/font/TextRenderer;IIIILnet/minecraft/client/gui/DrawContext;)V
      intermediary method_62017 Lnet/minecraft/class_5682;method_62017(Lnet/minecraft/class_327;IIIILnet/minecraft/class_332;)V
      official c Lfwu;c(Lfod;IIIILfof;)V
    • firstStacksInContents Link icon

      private List<ItemStack> firstStacksInContents(int numberOfStacksShown)
      Mappings:
      Namespace Name Mixin selector
      named firstStacksInContents Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;firstStacksInContents(I)Ljava/util/List;
      intermediary method_62004 Lnet/minecraft/class_5682;method_62004(I)Ljava/util/List;
      official b Lfwu;b(I)Ljava/util/List;
    • shouldDrawExtraItemsCount Link icon

      private static boolean shouldDrawExtraItemsCount(boolean hasMoreItems, int column, int row)
      Mappings:
      Namespace Name Mixin selector
      named shouldDrawExtraItemsCount Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;shouldDrawExtraItemsCount(ZII)Z
      intermediary method_62012 Lnet/minecraft/class_5682;method_62012(ZII)Z
      official a Lfwu;a(ZII)Z
    • shouldDrawItem Link icon

      private static boolean shouldDrawItem(List<ItemStack> items, int itemIndex)
      Mappings:
      Namespace Name Mixin selector
      named shouldDrawItem Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;shouldDrawItem(Ljava/util/List;I)Z
      intermediary method_62011 Lnet/minecraft/class_5682;method_62011(Ljava/util/List;I)Z
      official a Lfwu;a(Ljava/util/List;I)Z
    • numContentItemsAfter Link icon

      private int numContentItemsAfter(List<ItemStack> items)
      Mappings:
      Namespace Name Mixin selector
      named numContentItemsAfter Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;numContentItemsAfter(Ljava/util/List;)I
      intermediary method_62010 Lnet/minecraft/class_5682;method_62010(Ljava/util/List;)I
      official a Lfwu;a(Ljava/util/List;)I
    • drawItem Link icon

      private void drawItem(int index, int x, int y, List<ItemStack> stacks, int seed, TextRenderer textRenderer, DrawContext drawContext)
      Mappings:
      Namespace Name Mixin selector
      named drawItem Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawItem(IIILjava/util/List;ILnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_62006 Lnet/minecraft/class_5682;method_62006(IIILjava/util/List;ILnet/minecraft/class_327;Lnet/minecraft/class_332;)V
      official a Lfwu;a(IIILjava/util/List;ILfod;Lfof;)V
    • drawExtraItemsCount Link icon

      private static void drawExtraItemsCount(int x, int y, int numExtra, TextRenderer textRenderer, DrawContext drawContext)
      Mappings:
      Namespace Name Mixin selector
      named drawExtraItemsCount Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawExtraItemsCount(IIILnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_62005 Lnet/minecraft/class_5682;method_62005(IIILnet/minecraft/class_327;Lnet/minecraft/class_332;)V
      official a Lfwu;a(IIILfod;Lfof;)V
    • drawSelectedItemTooltip Link icon

      private void drawSelectedItemTooltip(TextRenderer textRenderer, DrawContext drawContext, int x, int y, int width)
      Mappings:
      Namespace Name Mixin selector
      named drawSelectedItemTooltip Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawSelectedItemTooltip(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/DrawContext;III)V
      intermediary method_62009 Lnet/minecraft/class_5682;method_62009(Lnet/minecraft/class_327;Lnet/minecraft/class_332;III)V
      official a Lfwu;a(Lfod;Lfof;III)V
    • drawProgressBar Link icon

      private void drawProgressBar(int x, int y, TextRenderer textRenderer, DrawContext drawContext)
      Mappings:
      Namespace Name Mixin selector
      named drawProgressBar Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawProgressBar(IILnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_62007 Lnet/minecraft/class_5682;method_62007(IILnet/minecraft/class_327;Lnet/minecraft/class_332;)V
      official a Lfwu;a(IILfod;Lfof;)V
    • drawEmptyDescription Link icon

      private static void drawEmptyDescription(int x, int y, TextRenderer textRenderer, DrawContext drawContext)
      Mappings:
      Namespace Name Mixin selector
      named drawEmptyDescription Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawEmptyDescription(IILnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_62013 Lnet/minecraft/class_5682;method_62013(IILnet/minecraft/class_327;Lnet/minecraft/class_332;)V
      official b Lfwu;b(IILfod;Lfof;)V
    • getDescriptionHeight Link icon

      private static int getDescriptionHeight(TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      named getDescriptionHeight Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getDescriptionHeight(Lnet/minecraft/client/font/TextRenderer;)I
      intermediary method_62018 Lnet/minecraft/class_5682;method_62018(Lnet/minecraft/class_327;)I
      official d Lfwu;d(Lfod;)I
    • getProgressBarFill Link icon

      private int getProgressBarFill()
      Mappings:
      Namespace Name Mixin selector
      named getProgressBarFill Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getProgressBarFill()I
      intermediary method_62020 Lnet/minecraft/class_5682;method_62020()I
      official f Lfwu;f()I
    • getProgressBarFillTexture Link icon

      private Identifier getProgressBarFillTexture()
      Mappings:
      Namespace Name Mixin selector
      named getProgressBarFillTexture Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getProgressBarFillTexture()Lnet/minecraft/util/Identifier;
      intermediary method_63509 Lnet/minecraft/class_5682;method_63509()Lnet/minecraft/class_2960;
      official g Lfwu;g()Lakv;
    • getProgressBarLabel Link icon

      @Nullable private @Nullable Text getProgressBarLabel()
      Mappings:
      Namespace Name Mixin selector
      named getProgressBarLabel Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getProgressBarLabel()Lnet/minecraft/text/Text;
      intermediary method_62021 Lnet/minecraft/class_5682;method_62021()Lnet/minecraft/class_2561;
      official h Lfwu;h()Lwp;