Class BundleTooltipData

java.lang.Object
net.minecraft.client.item.BundleTooltipData
All Implemented Interfaces:
TooltipData

@Environment(CLIENT)
public class BundleTooltipData
extends Object
implements TooltipData
Mappings:
Namespace Name
official bln
intermediary net/minecraft/class_5631
named net/minecraft/client/item/BundleTooltipData
  • Field Details

    • inventory

      private final DefaultedList<ItemStack> inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lbln;a:Lgj;
      intermediary field_27874 Lnet/minecraft/class_5631;field_27874:Lnet/minecraft/class_2371;
      named inventory Lnet/minecraft/client/item/BundleTooltipData;inventory:Lnet/minecraft/util/collection/DefaultedList;
    • bundleOccupancy

      private final int bundleOccupancy
      Mappings:
      Namespace Name Mixin selector
      official b Lbln;b:I
      intermediary field_28353 Lnet/minecraft/class_5631;field_28353:I
      named bundleOccupancy Lnet/minecraft/client/item/BundleTooltipData;bundleOccupancy:I
  • Constructor Details

    • BundleTooltipData

      public BundleTooltipData​(DefaultedList<ItemStack> inventory, int bundleOccupancy)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbln;<init>(Lgj;I)V
      intermediary <init> Lnet/minecraft/class_5631;<init>(Lnet/minecraft/class_2371;I)V
      named <init> Lnet/minecraft/client/item/BundleTooltipData;<init>(Lnet/minecraft/util/collection/DefaultedList;I)V
  • Method Details

    • getInventory

      public DefaultedList<ItemStack> getInventory()
      Mappings:
      Namespace Name Mixin selector
      official a Lbln;a()Lgj;
      intermediary method_32340 Lnet/minecraft/class_5631;method_32340()Lnet/minecraft/class_2371;
      named getInventory Lnet/minecraft/client/item/BundleTooltipData;getInventory()Lnet/minecraft/util/collection/DefaultedList;
    • getBundleOccupancy

      public int getBundleOccupancy()
      Mappings:
      Namespace Name Mixin selector
      official b Lbln;b()I
      intermediary method_32341 Lnet/minecraft/class_5631;method_32341()I
      named getBundleOccupancy Lnet/minecraft/client/item/BundleTooltipData;getBundleOccupancy()I