Class BundleTooltipData

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

public class BundleTooltipData extends Object implements TooltipData
Mappings:
Namespace Name
official cde
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 Lcde;a:Lhn;
      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 Lcde;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> Lcde;<init>(Lhn;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 Lcde;a()Lhn;
      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 Lcde;b()I
      intermediary method_32341 Lnet/minecraft/class_5631;method_32341()I
      named getBundleOccupancy Lnet/minecraft/client/item/BundleTooltipData;getBundleOccupancy()I