历史 - net.minecraft.world.item.BundleItem

1.21.11

名称

dge

dki

字段

构造函数

方法

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

dbk

dge

字段

构造函数

方法

1.21.8

名称

字段

构造函数

方法

1.21.7

名称

字段

构造函数

方法

1.21.6

名称

cyz

dbk

字段

构造函数

方法

1.21.5

名称

cvd

cyz

字段

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_

构造函数

方法

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

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

1.21.4

名称

cwc

cvd

字段

ResourceLocation: r, openFrontModel, field_54112, openFrontTexture, f_346346_

ResourceLocation: s, openBackModel, field_54113, openBackTexture, f_349012_

构造函数

(Item$Properties)

(ResourceLocation, ResourceLocation, Item$Properties)

方法

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

名称

csw

cwc

字段

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_

构造函数

(Item$Properties)

(ResourceLocation, ResourceLocation, Item$Properties)

方法

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

名称

字段

构造函数

方法

1.21

名称

csy

csw

字段

构造函数

方法

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

名称

cla

csy

字段

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_

构造函数

方法

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

名称

chh

cla

字段

构造函数

方法

1.20.2

名称

ceb

chh

字段

构造函数

方法

1.20.1

名称

cdz

ceb

字段

构造函数

方法

1.19.4

名称

cbz

cdz

字段

构造函数

方法

1.19.3

名称

bzf

cbz

字段

构造函数

方法

1.19.2

名称

字段

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_

构造函数

方法

1.19.1

名称

byi

bzf

字段

构造函数

方法

1.19

名称

bti

byi

字段

构造函数

方法

1.18.2

名称

bsq

bti

字段

构造函数

方法

1.18.1

名称

字段

构造函数

方法

1.18

名称

bpc

bsq

字段

构造函数

方法

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

名称

bpb

bpc

字段

构造函数

方法

1.17

名称

bpb

net.minecraft.world.item.BundleItem

net.minecraft.class_5537

net.minecraft.item.BundleItem

net.minecraft.src.C_141169_

net.minecraft.world.item.BundleItem

字段

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_

构造函数

(Item$Properties)

方法

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_