History - net.minecraft.world.item.BundleItem

25w18a

Names

cyz

czp

Fields

int: p, BAR_COLOR, field_27016, ITEM_BAR_COLOR, f_150723_

int: p, BAR_COLOR, field_27016

int: a, MAX_SHOWN_GRID_ITEMS_X, field_52575, TOOLTIP_STACKS_COLUMNS, f_347396_

int: a, MAX_SHOWN_GRID_ITEMS_X, field_52575

int: b, MAX_SHOWN_GRID_ITEMS_Y, field_52576, TOOLTIP_STACKS_ROWS, f_347910_

int: b, MAX_SHOWN_GRID_ITEMS_Y, field_52576

int: c, MAX_SHOWN_GRID_ITEMS, field_52577, MAX_TOOLTIP_STACKS_SHOWN, f_348585_

int: c, MAX_SHOWN_GRID_ITEMS, field_52577

int: d, OVERFLOWING_MAX_SHOWN_GRID_ITEMS, field_52578, MAX_TOOLTIP_STACKS_SHOWN_WHEN_TOO_MANY_TYPES, f_346939_

int: d, OVERFLOWING_MAX_SHOWN_GRID_ITEMS, field_52578

int: o, FULL_BAR_COLOR, field_52579, FULL_ITEM_BAR_COLOR, f_347287_

int: o, FULL_BAR_COLOR, field_52579

int: q, TICKS_AFTER_FIRST_THROW, field_54109, field_54109, f_346530_

int: q, TICKS_AFTER_FIRST_THROW, field_54109

int: r, TICKS_BETWEEN_THROWS, field_54110, field_54110, f_347711_

int: r, TICKS_BETWEEN_THROWS, field_54110

int: s, TICKS_MAX_THROW_DURATION, field_54111, MAX_USE_TIME, f_347495_

int: s, TICKS_MAX_THROW_DURATION, field_54111

Constructors

Methods

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

float (ItemStack): c, getFullnessDisplay, method_31561

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

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

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

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

boolean (ItemStack): d, isBarVisible, method_31567

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

int (ItemStack): e, getBarWidth, method_31569

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

int (ItemStack): f, getBarColor, method_31571

boolean (ItemStack, Player): b, dropContent, method_32757, dropFirstBundledStack, m_356605_

boolean (ItemStack, Player): b, dropContent, method_32757

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

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

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

void (ItemEntity): a, onDestroyed, method_33261

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

void (Entity): a, playRemoveOneSound, method_38074

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

void (Entity): b, playInsertSound, method_38076

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

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

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

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

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

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

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

boolean (ItemStack): g, hasSelectedItem, method_61642

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

int (ItemStack): h, getSelectedItem, method_61643

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

ItemStack (ItemStack): i, getSelectedItemStack, method_61644

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

int (ItemStack): j, getNumberOfItemsToShow, method_61645

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

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

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

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

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

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

List<BundleItem> (): a, getAllBundleItemColors, method_64975, getBundles, m_354062_

List<BundleItem> (): a, getAllBundleItemColors, method_64975

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

Item (DyeColor): a, getByColor, method_64277

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

void (Entity): c, playInsertFailSound, method_61641

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

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

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

void (Player): a, broadcastChangesOnContainerMenu, method_64502

ItemUseAnimation (ItemStack): b, getUseAnimation, method_7853, getUseAction, m_6164_

ItemUseAnimation (ItemStack): b, getUseAnimation, method_7853

1.21.5

Names

cvd

cyz

Fields

int: n, BAR_COLOR, field_27016, ITEM_BAR_COLOR, f_150723_

int: p, BAR_COLOR, field_27016, ITEM_BAR_COLOR, f_150723_

int: m, FULL_BAR_COLOR, field_52579, FULL_ITEM_BAR_COLOR, f_347287_

int: o, FULL_BAR_COLOR, field_52579, FULL_ITEM_BAR_COLOR, f_347287_

int: o, TICKS_AFTER_FIRST_THROW, field_54109, field_54109, f_346530_

int: q, TICKS_AFTER_FIRST_THROW, field_54109, field_54109, f_346530_

int: p, TICKS_BETWEEN_THROWS, field_54110, field_54110, f_347711_

int: r, TICKS_BETWEEN_THROWS, field_54110, field_54110, f_347711_

int: q, TICKS_MAX_THROW_DURATION, field_54111, MAX_USE_TIME, f_347495_

int: s, TICKS_MAX_THROW_DURATION, field_54111, MAX_USE_TIME, f_347495_

Constructors

Methods

List<BundleItem> (): b, getAllBundleItemColors, method_64975, getBundles, m_354062_

List<BundleItem> (): a, getAllBundleItemColors, method_64975, getBundles, m_354062_

1.21.4

Names

cwc

cvd

Fields

ResourceLocation: r, openFrontModel, field_54112, openFrontTexture, f_346346_

ResourceLocation: s, openBackModel, field_54113, openBackTexture, f_349012_

Constructors

(Item$Properties)

(ResourceLocation, ResourceLocation, Item$Properties)

Methods

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

boolean (ItemStack, Player): b, dropContent, method_32757, dropFirstBundledStack, m_356605_

ResourceLocation (): b, openFrontModel, method_63677, getOpenFrontTexture, m_357172_

ResourceLocation (): c, openBackModel, method_63678, getOpenBackTexture, m_352137_

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

List<BundleItem> (): b, getAllBundleItemColors, method_64975, getBundles, m_354062_

ItemUseAnimation (ItemStack): b, getUseAnimation, method_7853, getUseAction, m_6164_

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, f_150723_

int: b, TOOLTIP_MAX_WEIGHT, field_51352, field_51352, f_316822_

int: a, MAX_SHOWN_GRID_ITEMS_X, field_52575, TOOLTIP_STACKS_COLUMNS, f_347396_

int: b, MAX_SHOWN_GRID_ITEMS_Y, field_52576, TOOLTIP_STACKS_ROWS, f_347910_

int: c, MAX_SHOWN_GRID_ITEMS, field_52577, MAX_TOOLTIP_STACKS_SHOWN, f_348585_

int: d, OVERFLOWING_MAX_SHOWN_GRID_ITEMS, field_52578, MAX_TOOLTIP_STACKS_SHOWN_WHEN_TOO_MANY_TYPES, f_346939_

int: m, FULL_BAR_COLOR, field_52579, FULL_ITEM_BAR_COLOR, f_347287_

int: o, TICKS_AFTER_FIRST_THROW, field_54109, field_54109, f_346530_

int: p, TICKS_BETWEEN_THROWS, field_54110, field_54110, f_347711_

int: q, TICKS_MAX_THROW_DURATION, field_54111, MAX_USE_TIME, f_347495_

ResourceLocation: r, openFrontModel, field_54112, openFrontTexture, f_346346_

ResourceLocation: s, openBackModel, field_54113, openBackTexture, f_349012_

Constructors

(Item$Properties)

(ResourceLocation, ResourceLocation, Item$Properties)

Methods

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

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

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

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

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

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, m_357172_

ResourceLocation (): c, openBackModel, method_63678, getOpenBackTexture, m_352137_

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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_

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_