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 fps
  • Field Details

    • BACKGROUND_TEXTURE

      private static final Identifier BACKGROUND_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BACKGROUND_TEXTURE Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45506 Lnet/minecraft/class_5682;field_45506:Lnet/minecraft/class_2960;
      official a Lfps;a:Lakk;
    • field_32381

      private static final int field_32381
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32381 Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_32381:I
      intermediary field_32381 Lnet/minecraft/class_5682;field_32381:I
      official b Lfps;b:I
    • field_32382

      private static final int field_32382
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32382 Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_32382:I
      intermediary field_32382 Lnet/minecraft/class_5682;field_32382:I
      official c Lfps;c:I
    • WIDTH_PER_COLUMN

      private static final int WIDTH_PER_COLUMN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WIDTH_PER_COLUMN Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;WIDTH_PER_COLUMN:I
      intermediary field_32384 Lnet/minecraft/class_5682;field_32384:I
      official d Lfps;d:I
    • HEIGHT_PER_ROW

      private static final int HEIGHT_PER_ROW
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HEIGHT_PER_ROW Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;HEIGHT_PER_ROW:I
      intermediary field_32385 Lnet/minecraft/class_5682;field_32385:I
      official e Lfps;e:I
    • field_49537

      private final BundleContentsComponent field_49537
      Mappings:
      Namespace Name Mixin selector
      named field_49537 Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_49537:Lnet/minecraft/component/type/BundleContentsComponent;
      intermediary field_49537 Lnet/minecraft/class_5682;field_49537:Lnet/minecraft/class_9276;
      official f Lfps;f:Lcwp;
  • Constructor Details

    • BundleTooltipComponent

      public BundleTooltipComponent(BundleContentsComponent data)
      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> Lfps;<init>(Lcwp;)V
  • Method Details

    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface TooltipComponent
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight()I
      intermediary method_32661 Lnet/minecraft/class_5684;method_32661()I
      official a Lfpu;a()I
    • getWidth

      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 a Lfpu;a(Lfhf;)I
    • getColumnsWidth

      private int getColumnsWidth()
      Mappings:
      Namespace Name Mixin selector
      named getColumnsWidth Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getColumnsWidth()I
      intermediary method_52755 Lnet/minecraft/class_5682;method_52755()I
      official b Lfps;b()I
    • getRowsHeight

      private int getRowsHeight()
      Mappings:
      Namespace Name Mixin selector
      named getRowsHeight Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getRowsHeight()I
      intermediary method_52756 Lnet/minecraft/class_5682;method_52756()I
      official c Lfps;c()I
    • drawItems

      public void drawItems(TextRenderer textRenderer, int x, int y, 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;IILnet/minecraft/client/gui/DrawContext;)V
      intermediary method_32666 Lnet/minecraft/class_5684;method_32666(Lnet/minecraft/class_327;IILnet/minecraft/class_332;)V
      official a Lfpu;a(Lfhf;IILfhh;)V
    • drawSlot

      private void drawSlot(int x, int y, int index, boolean shouldBlock, DrawContext context, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      named drawSlot Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawSlot(IIIZLnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;)V
      intermediary method_33287 Lnet/minecraft/class_5682;method_33287(IIIZLnet/minecraft/class_332;Lnet/minecraft/class_327;)V
      official a Lfps;a(IIIZLfhh;Lfhf;)V
    • draw

      private void draw(DrawContext context, int x, int y, BundleTooltipComponent.SlotSprite sprite)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;draw(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;)V
      intermediary method_33288 Lnet/minecraft/class_5682;method_33288(Lnet/minecraft/class_332;IILnet/minecraft/class_5682$class_5771;)V
      official a Lfps;a(Lfhh;IILfps$a;)V
    • getColumns

      private int getColumns()
      Mappings:
      Namespace Name Mixin selector
      named getColumns Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getColumns()I
      intermediary method_33289 Lnet/minecraft/class_5682;method_33289()I
      official d Lfps;d()I
    • getRows

      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 e Lfps;e()I