History - net.minecraft.world.item.BundleItem

1.21.3

Names

csw

cwc

Fields

int: a, BAR_COLOR, field_27016, ITEM_BAR_COLOR, f_150723_

int: n, BAR_COLOR, field_27016, ITEM_BAR_COLOR

int: b, TOOLTIP_MAX_WEIGHT, field_51352, field_51352, f_316822_

int: a, MAX_SHOWN_GRID_ITEMS_X, field_52575, TOOLTIP_STACKS_COLUMNS

int: b, MAX_SHOWN_GRID_ITEMS_Y, field_52576, TOOLTIP_STACKS_ROWS

int: c, MAX_SHOWN_GRID_ITEMS, field_52577, MAX_TOOLTIP_STACKS_SHOWN

int: d, OVERFLOWING_MAX_SHOWN_GRID_ITEMS, field_52578, MAX_TOOLTIP_STACKS_SHOWN_WHEN_TOO_MANY_TYPES

int: m, FULL_BAR_COLOR, field_52579, FULL_ITEM_BAR_COLOR

int: o, TICKS_AFTER_FIRST_THROW, field_54109, field_54109

int: p, TICKS_BETWEEN_THROWS, field_54110, field_54110

int: q, TICKS_MAX_THROW_DURATION, field_54111, MAX_USE_TIME

ResourceLocation: r, openFrontModel, field_54112, openFrontTexture

ResourceLocation: s, openBackModel, field_54113, openBackTexture

Constructors

(Item$Properties)

(ResourceLocation, ResourceLocation, Item$Properties)

Methods

float (ItemStack): c, getFullnessDisplay, method_31561, getAmountFilled, m_150766_

float (ItemStack): c, getFullnessDisplay, method_31561, getAmountFilled

boolean (ItemStack, Slot, ClickAction, Player): a, overrideStackedOnOther, method_31565, onStackClicked, m_142207_

boolean (ItemStack, Slot, ClickAction, Player): a, overrideStackedOnOther, method_31565, onStackClicked

boolean (ItemStack, ItemStack, Slot, ClickAction, Player, SlotAccess): a, overrideOtherStackedOnMe, method_31566, onClicked, m_142305_

boolean (ItemStack, ItemStack, Slot, ClickAction, Player, SlotAccess): a, overrideOtherStackedOnMe, method_31566, onClicked

InteractionResultHolder<ItemStack> (Level, Player, InteractionHand): a, use, method_7836, use, m_7203_

boolean (ItemStack): d, isBarVisible, method_31567, isItemBarVisible, m_142522_

boolean (ItemStack): d, isBarVisible, method_31567, isItemBarVisible

int (ItemStack): e, getBarWidth, method_31569, getItemBarStep, m_142158_

int (ItemStack): e, getBarWidth, method_31569, getItemBarStep

int (ItemStack): f, getBarColor, method_31571, getItemBarColor, m_142159_

int (ItemStack): f, getBarColor, method_31571, getItemBarColor

boolean (ItemStack, Player): a, dropContents, method_32757, dropAllBundledItems, m_150729_

boolean (ItemStack, Player): a, dropContent, method_32757, dropFirstBundledStack

Optional<TooltipComponent> (ItemStack): g, getTooltipImage, method_32346, getTooltipData, m_142422_

Optional<TooltipComponent> (ItemStack): k, getTooltipImage, method_32346, getTooltipData

void (ItemEntity): a, onDestroyed, method_33261, onItemEntityDestroyed, m_142023_

void (ItemEntity): a, onDestroyed, method_33261, onItemEntityDestroyed

void (Entity): a, playRemoveOneSound, method_38074, playRemoveOneSound, m_186342_

void (Entity): a, playRemoveOneSound, method_38074, playRemoveOneSound

void (Entity): b, playInsertSound, method_38076, playInsertSound, m_186351_

void (Entity): b, playInsertSound, method_38076, playInsertSound

void (Entity): c, playDropContentsSound, method_38077, playDropContentsSound, m_186353_

void (ItemStack, Item$TooltipContext, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

ResourceLocation (): b, openFrontModel, method_63677, getOpenFrontTexture

ResourceLocation (): c, openBackModel, method_63678, getOpenBackTexture

InteractionResult (Level, Player, InteractionHand): a, use, method_7836, use

void (Level, Player, ItemStack): a, dropContent, method_63675, dropContentsOnUse

void (ItemStack, int): a, toggleSelectedItem, method_61637, setSelectedStackIndex

boolean (ItemStack): g, hasSelectedItem, method_61642, hasSelectedStack

int (ItemStack): h, getSelectedItem, method_61643, getSelectedStackIndex

ItemStack (ItemStack): i, getSelectedItemStack, method_61644, getSelectedStack

int (ItemStack): j, getNumberOfItemsToShow, method_61645, getNumberOfStacksShown

Optional<ItemStack> (ItemStack, Player, BundleContents): a, removeOneItemFromBundle, method_63676, popFirstBundledStack

void (Level, LivingEntity, ItemStack, int): a, onUseTick, method_7852, usageTick

int (ItemStack, LivingEntity): a, getUseDuration, method_7881, getMaxUseTime

List<BundleItem> (): d, getAllBundleItemColors, method_64975, getBundles

Item (DyeColor): a, getByColor, method_64277, getBundle

void (Entity): c, playInsertFailSound, method_61641, playInsertFailSound

void (Level, Entity): a, playDropContentsSound, method_38077, playDropContentsSound

void (Player): a, broadcastChangesOnContainerMenu, method_64502, onContentChanged

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

csy

csw

Fields

Constructors

Methods

float (ItemStack): d, getFullnessDisplay, method_31561, getAmountFilled, m_150766_

float (ItemStack): c, getFullnessDisplay, method_31561, getAmountFilled, m_150766_

boolean (ItemStack): e, isBarVisible, method_31567, isItemBarVisible, m_142522_

boolean (ItemStack): d, isBarVisible, method_31567, isItemBarVisible, m_142522_

int (ItemStack): f, getBarWidth, method_31569, getItemBarStep, m_142158_

int (ItemStack): e, getBarWidth, method_31569, getItemBarStep, m_142158_

int (ItemStack): g, getBarColor, method_31571, getItemBarColor, m_142159_

int (ItemStack): f, getBarColor, method_31571, getItemBarColor, m_142159_

Optional<TooltipComponent> (ItemStack): h, getTooltipImage, method_32346, getTooltipData, m_142422_

Optional<TooltipComponent> (ItemStack): g, getTooltipImage, method_32346, getTooltipData, m_142422_

1.20.6

Names

cla

csy

Fields

String: b, TAG_ITEMS, field_30858, ITEMS_KEY, f_150721_

int: a, MAX_WEIGHT, field_30857, MAX_STORAGE, f_150720_

int: c, BUNDLE_IN_BUNDLE_WEIGHT, field_30859, BUNDLE_ITEM_OCCUPANCY, f_150722_

int: d, BAR_COLOR, field_27016, ITEM_BAR_COLOR, f_150723_

int: a, BAR_COLOR, field_27016, ITEM_BAR_COLOR, f_150723_

int: b, TOOLTIP_MAX_WEIGHT, field_51352, field_51352, f_316822_

Constructors

Methods

int (ItemStack, ItemStack): b, add, method_31560, addToBundle, m_150763_

Optional<CompoundTag> (ItemStack, ListTag): a, getMatchingItem, method_32344, canMergeStack, m_150756_

int (ItemStack): k, getWeight, method_31562, getItemOccupancy, m_150776_

int (ItemStack): o, getContentWeight, method_31563, getBundleOccupancy, m_150778_

Optional<ItemStack> (ItemStack): p, removeOne, method_32759, removeFirstStack, m_150780_

Stream<ItemStack> (ItemStack): q, getContents, method_32345, getBundledStacks, m_150782_

void (ItemStack, Level, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

void (ItemStack, Item$TooltipContext, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

1.20.4

Names

chh

cla

Fields

Constructors

Methods

1.20.2

Names

ceb

chh

Fields

Constructors

Methods

1.20.1

Names

cdz

ceb

Fields

Constructors

Methods

1.19.4

Names

cbz

cdz

Fields

Constructors

Methods

1.19.3

Names

bzf

cbz

Fields

Constructors

Methods

1.19.2

Names

Fields

int: c, BUNDLE_IN_BUNDLE_WEIGHT, field_30859, field_30859, f_150722_

int: c, BUNDLE_IN_BUNDLE_WEIGHT, field_30859, BUNDLE_ITEM_OCCUPANCY, f_150722_

Constructors

Methods

1.19.1

Names

byi

bzf

Fields

Constructors

Methods

1.19

Names

bti

byi

Fields

Constructors

Methods

1.18.2

Names

bsq

bti

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

bpc

bsq

Fields

Constructors

Methods

void (Entity): a, playRemoveOneSound, method_38074, playRemoveOneSound, m_186342_

void (Entity): b, playInsertSound, method_38076, playInsertSound, m_186351_

void (Entity): c, playDropContentsSound, method_38077, playDropContentsSound, m_186353_

1.17.1

Names

bpb

bpc

Fields

Constructors

Methods

1.17

Names

bpb

net.minecraft.world.item.BundleItem

net.minecraft.class_5537

net.minecraft.item.BundleItem

net.minecraft.src.C_141169_

net.minecraft.world.item.BundleItem

Fields

String: b, TAG_ITEMS, field_30858, ITEMS_KEY, f_150721_

int: a, MAX_WEIGHT, field_30857, MAX_STORAGE, f_150720_

int: c, BUNDLE_IN_BUNDLE_WEIGHT, field_30859, field_30859, f_150722_

int: d, BAR_COLOR, field_27016, ITEM_BAR_COLOR, f_150723_

Constructors

(Item$Properties)

Methods

float (ItemStack): d, getFullnessDisplay, method_31561, getAmountFilled, m_150766_

boolean (ItemStack, Slot, ClickAction, Player): a, overrideStackedOnOther, method_31565, onStackClicked, m_142207_

boolean (ItemStack, ItemStack, Slot, ClickAction, Player, SlotAccess): a, overrideOtherStackedOnMe, method_31566, onClicked, m_142305_

InteractionResultHolder<ItemStack> (Level, Player, InteractionHand): a, use, method_7836, use, m_7203_

boolean (ItemStack): e, isBarVisible, method_31567, isItemBarVisible, m_142522_

int (ItemStack): f, getBarWidth, method_31569, getItemBarStep, m_142158_

int (ItemStack): g, getBarColor, method_31571, getItemBarColor, m_142159_

int (ItemStack, ItemStack): b, add, method_31560, addToBundle, m_150763_

Optional<CompoundTag> (ItemStack, ListTag): a, getMatchingItem, method_32344, canMergeStack, m_150756_

int (ItemStack): k, getWeight, method_31562, getItemOccupancy, m_150776_

int (ItemStack): o, getContentWeight, method_31563, getBundleOccupancy, m_150778_

Optional<ItemStack> (ItemStack): p, removeOne, method_32759, removeFirstStack, m_150780_

boolean (ItemStack, Player): a, dropContents, method_32757, dropAllBundledItems, m_150729_

Stream<ItemStack> (ItemStack): q, getContents, method_32345, getBundledStacks, m_150782_

Optional<TooltipComponent> (ItemStack): h, getTooltipImage, method_32346, getTooltipData, m_142422_

void (ItemStack, Level, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

void (ItemEntity): a, onDestroyed, method_33261, onItemEntityDestroyed, m_142023_