net.minecraft.world.item

public class BundleItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cwc
net.minecraft.world.item.BundleItem
net.minecraft.class_5537
net.minecraft.unmapped.C_elzpwcpo
net.minecraft.item.BundleItem
net.minecraft.item.BundleItem
net.minecraft.src.C_141169_
net.minecraft.world.item.BundleItem

Field summary

Modifier and TypeField
public static final int
a
MAX_SHOWN_GRID_ITEMS_X
field_52575
f_ivxnedke
TOOLTIP_STACKS_COLUMNS
f_347396_
public static final int
b
MAX_SHOWN_GRID_ITEMS_Y
field_52576
f_wqvpmxia
TOOLTIP_STACKS_ROWS
f_347910_
public static final int
c
MAX_SHOWN_GRID_ITEMS
field_52577
f_umnquzug
MAX_TOOLTIP_STACKS_SHOWN
f_348585_
public static final int
d
OVERFLOWING_MAX_SHOWN_GRID_ITEMS
field_52578
f_bbtufyet
MAX_TOOLTIP_STACKS_SHOWN_WHEN_TOO_MANY_TYPES
f_346939_
private static final int
m
FULL_BAR_COLOR
field_52579
f_yrfycuol
FULL_ITEM_BAR_COLOR
f_347287_
private static final int
n
BAR_COLOR
field_27016
f_iabcagke
ITEM_BAR_COLOR
ITEM_BAR_COLOR
f_150723_
private static final int
o
TICKS_AFTER_FIRST_THROW
field_54109
f_jrxtbvbb
field_54109
f_346530_
private static final int
p
TICKS_BETWEEN_THROWS
field_54110
f_qjhofbvr
field_54110
f_347711_
private static final int
q
TICKS_MAX_THROW_DURATION
field_54111
f_wtskdubi
MAX_USE_TIME
f_347495_
private final ResourceLocation
r
openFrontModel
field_54112
f_hmfapfbe
openFrontTexture
f_346346_
private final ResourceLocation
s
openBackModel
field_54113
f_csqpvpjf
openBackTexture
f_349012_

Constructor summary

ModifierConstructor
public (ResourceLocation openFrontTexture, ResourceLocation openBackTexture, Item$Properties settings)

Method summary

Modifier and TypeMethod
public static float
c(cxp arg0)
getFullnessDisplay(ItemStack arg0)
method_31561(class_1799 arg0)
m_tqvwwmtg(C_sddaxwyk arg0)
getAmountFilled(ItemStack stack)
getAmountFilled(ItemStack stack)
m_150766_(C_1391_ p_150767_)
public ResourceLocation
b()
openFrontModel()
method_63677()
m_seyzcwbw()
getOpenFrontTexture()
m_357172_()
public ResourceLocation
c()
openBackModel()
method_63678()
m_zmvnugqa()
getOpenBackTexture()
m_352137_()
public boolean
a(cxp arg0, cuz arg1, ctm arg2, cpx arg3)
overrideStackedOnOther(ItemStack arg0, Slot arg1, ClickAction arg2, Player arg3)
method_31565(class_1799 arg0, class_1735 arg1, class_5536 arg2, class_1657 arg3)
m_pfwgoldc(C_sddaxwyk arg0, C_nhvqfffd arg1, C_qcuteihm arg2, C_jzrpycqo arg3)
onStackClicked(ItemStack arg0, Slot arg1, ClickType arg2, PlayerEntity arg3)
onClickedOnOther(ItemStack arg0, Slot arg1, ClickType arg2, PlayerEntity arg3)
m_142207_(C_1391_ p_150734_, C_1305_ p_150735_, C_141163_ p_150736_, C_1141_ arg3)
public boolean
a(cxp arg0, cxp arg1, cuz arg2, ctm arg3, cpx arg4, bwy arg5)
overrideOtherStackedOnMe(ItemStack arg0, ItemStack arg1, Slot arg2, ClickAction arg3, Player arg4, SlotAccess arg5)
method_31566(class_1799 arg0, class_1799 arg1, class_1735 arg2, class_5536 arg3, class_1657 arg4, class_5630 arg5)
m_pktzlvtx(C_sddaxwyk arg0, C_sddaxwyk arg1, C_nhvqfffd arg2, C_qcuteihm arg3, C_jzrpycqo arg4, C_xkkpnyvk arg5)
onClicked(ItemStack arg0, ItemStack arg1, Slot arg2, ClickType arg3, PlayerEntity arg4, StackReference arg5)
onClicked(ItemStack arg0, ItemStack arg1, Slot arg2, ClickType arg3, PlayerEntity arg4, StackReference arg5)
m_142305_(C_1391_ p_150743_, C_1391_ p_150744_, C_1305_ p_150745_, C_141163_ p_150746_, C_1141_ p_150747_, C_141073_ arg5)
public InteractionResult
a(dhi arg0, cpx arg1, bti arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_150761_, C_1141_ p_150762_, C_470_ arg2)
private void
a(dhi arg0, cpx arg1, cxp arg2)
dropContent(Level arg0, Player arg1, ItemStack arg2)
method_63675(class_1937 arg0, class_1657 arg1, class_1799 arg2)
m_kptfsbst(C_cdctfzbn arg0, C_jzrpycqo arg1, C_sddaxwyk arg2)
dropContentsOnUse(World world, PlayerEntity player, ItemStack stack)
m_kptfsbst(World world, PlayerEntity player, ItemStack stack)
m_357259_(C_1596_ p_369321_, C_1141_ p_365964_, C_1391_ arg2)
public boolean
d(cxp arg0)
isBarVisible(ItemStack arg0)
method_31567(class_1799 arg0)
m_dzfzcxuk(C_sddaxwyk arg0)
isItemBarVisible(ItemStack arg0)
isItemBarVisible(ItemStack arg0)
m_142522_(C_1391_ arg0)
public int
e(cxp arg0)
getBarWidth(ItemStack arg0)
method_31569(class_1799 arg0)
m_dzyyhvup(C_sddaxwyk arg0)
getItemBarStep(ItemStack arg0)
getItemBarStep(ItemStack arg0)
m_142158_(C_1391_ arg0)
public int
f(cxp arg0)
getBarColor(ItemStack arg0)
method_31571(class_1799 arg0)
m_wolmtjeu(C_sddaxwyk arg0)
getItemBarColor(ItemStack arg0)
getItemBarColor(ItemStack arg0)
m_142159_(C_1391_ arg0)
public static void
a(cxp arg0, int arg1)
toggleSelectedItem(ItemStack arg0, int arg1)
method_61637(class_1799 arg0, int arg1)
m_kxwcyoea(C_sddaxwyk arg0, int arg1)
setSelectedStackIndex(ItemStack stack, int selectedStackIndex)
m_kxwcyoea(ItemStack stack, int arg1)
m_355417_(C_1391_ p_369957_, int p_362067_)
public static boolean
g(cxp arg0)
hasSelectedItem(ItemStack arg0)
method_61642(class_1799 arg0)
m_jwecdoij(C_sddaxwyk arg0)
hasSelectedStack(ItemStack stack)
m_jwecdoij(ItemStack stack)
m_356052_(C_1391_ p_369004_)
public static int
h(cxp arg0)
getSelectedItem(ItemStack arg0)
method_61643(class_1799 arg0)
m_fkdjanlw(C_sddaxwyk arg0)
getSelectedStackIndex(ItemStack stack)
m_fkdjanlw(ItemStack stack)
m_352788_(C_1391_ p_368122_)
public static ItemStack
i(cxp arg0)
getSelectedItemStack(ItemStack arg0)
method_61644(class_1799 arg0)
m_dkihlfwy(C_sddaxwyk arg0)
getSelectedStack(ItemStack stack)
m_dkihlfwy(ItemStack stack)
m_355315_(C_1391_ p_363510_)
public static int
j(cxp arg0)
getNumberOfItemsToShow(ItemStack arg0)
method_61645(class_1799 arg0)
m_vllmiaix(C_sddaxwyk arg0)
getNumberOfStacksShown(ItemStack stack)
m_vllmiaix(ItemStack stack)
m_351870_(C_1391_ p_363807_)
private boolean
a(cxp arg0, cpx arg1)
dropContent(ItemStack arg0, Player arg1)
method_32757(class_1799 arg0, class_1657 arg1)
m_hgzfiafq(C_sddaxwyk arg0, C_jzrpycqo arg1)
dropFirstBundledStack(ItemStack stack, PlayerEntity player)
m_hgzfiafq(ItemStack stack, PlayerEntity player)
m_356605_(C_1391_ p_369586_, C_1141_ arg1)
private static Optional<ItemStack>
a(cxp arg0, cpx arg1, czt arg2)
removeOneItemFromBundle(ItemStack arg0, Player arg1, BundleContents arg2)
method_63676(class_1799 arg0, class_1657 arg1, class_9276 arg2)
m_dqjdycli(C_sddaxwyk arg0, C_jzrpycqo arg1, C_rdabfjzm arg2)
popFirstBundledStack(ItemStack stack, PlayerEntity player, BundleContentsComponent contents)
m_dqjdycli(ItemStack stack, PlayerEntity player, BundleContentsComponent component)
m_351877_(C_1391_ p_366514_, C_1141_ p_363747_, C_313255_ p_363035_)
public void
a(dhi arg0, bwg arg1, cxp arg2, int arg3)
onUseTick(Level arg0, LivingEntity arg1, ItemStack arg2, int arg3)
method_7852(class_1937 arg0, class_1309 arg1, class_1799 arg2, int arg3)
m_mvuvxzgn(C_cdctfzbn arg0, C_usxaxydn arg1, C_sddaxwyk arg2, int arg3)
usageTick(World arg0, LivingEntity arg1, ItemStack arg2, int arg3)
usageTick(World arg0, LivingEntity arg1, ItemStack arg2, int arg3)
m_5929_(C_1596_ p_365864_, C_524_ p_364728_, C_1391_ p_366618_, int arg3)
public int
a(cxp arg0, bwg arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
m_hwznhtnf(C_sddaxwyk arg0, C_usxaxydn arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
getUseTicks(ItemStack arg0, LivingEntity arg1)
m_8105_(C_1391_ p_368133_, C_524_ arg1)
public Optional<TooltipComponent>
k(cxp arg0)
getTooltipImage(ItemStack arg0)
method_32346(class_1799 arg0)
m_cqkbztpf(C_sddaxwyk arg0)
getTooltipData(ItemStack arg0)
getTooltipData(ItemStack arg0)
m_142422_(C_1391_ arg0)
public void
a(cmb arg0)
onDestroyed(ItemEntity arg0)
method_33261(class_1542 arg0)
m_ectuffur(C_uqpzijng arg0)
onItemEntityDestroyed(ItemEntity arg0)
onItemEntityDestroyed(ItemEntity arg0)
m_142023_(C_976_ arg0)
public static List<BundleItem>
d()
getAllBundleItemColors()
method_64975()
m_eswqvtkf()
getBundles()
m_354062_()
public static Item
a(cwm arg0)
getByColor(DyeColor arg0)
method_64277(class_1767 arg0)
m_optlhaxk(C_arllgqae arg0)
getBundle(DyeColor color)
m_357055_(C_1353_ p_369131_)
private static void
a(bvk arg0)
playRemoveOneSound(Entity arg0)
method_38074(class_1297 arg0)
m_hovrsjet(C_astfners arg0)
playRemoveOneSound(Entity entity)
playRemoveOneSound(Entity entity)
m_186342_(C_507_ p_186343_)
private static void
b(bvk arg0)
playInsertSound(Entity arg0)
method_38076(class_1297 arg0)
m_ybktmnyl(C_astfners arg0)
playInsertSound(Entity entity)
playInsertSound(Entity entity)
m_186351_(C_507_ p_186352_)
private static void
c(bvk arg0)
playInsertFailSound(Entity arg0)
method_61641(class_1297 arg0)
m_nivuhpwj(C_astfners arg0)
playInsertFailSound(Entity entity)
m_nivuhpwj(Entity entity)
m_357198_(C_507_ p_367200_)
private static void
a(dhi arg0, bvk arg1)
playDropContentsSound(Level arg0, Entity arg1)
method_38077(class_1937 arg0, class_1297 arg1)
m_imyryhnq(C_cdctfzbn arg0, C_astfners arg1)
playDropContentsSound(World world, Entity entity)
playDropContentsSound(World world, Entity entity)
m_186353_(C_1596_ p_362376_, C_507_ p_186354_)
private void
a(cpx arg0)
broadcastChangesOnContainerMenu(Player arg0)
method_64502(class_1657 arg0)
m_kcmicakv(C_jzrpycqo arg0)
onContentChanged(PlayerEntity user)
m_kcmicakv(PlayerEntity player)
m_352999_(C_1141_ arg0)