net.minecraft.world.item

public class BundleItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

csw
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
private static final int
a
BAR_COLOR
field_27016
f_iabcagke
ITEM_BAR_COLOR
ITEM_BAR_COLOR
f_150723_
private static final int
b
TOOLTIP_MAX_WEIGHT
field_51352
f_jdxyuwum
field_51352
MAX_ITEM_COUNT
f_316822_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static float
c(cuq 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 boolean
a(cuq arg0, crq arg1, cqd arg2, cmx 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(cuq arg0, cuq arg1, crq arg2, cqd arg3, cmx arg4, bug 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 InteractionResultHolder<ItemStack>
a(dcw arg0, cmx arg1, bqq 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)
public boolean
d(cuq 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(cuq 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(cuq 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)
private static boolean
a(cuq arg0, cmx arg1)
dropContents(ItemStack arg0, Player arg1)
method_32757(class_1799 arg0, class_1657 arg1)
m_xswsvcsr(C_sddaxwyk arg0, C_jzrpycqo arg1)
dropAllBundledItems(ItemStack stack, PlayerEntity player)
dropAllBundledItems(ItemStack stack, PlayerEntity player)
m_150729_(C_1391_ p_150730_, C_1141_ p_150731_)
public Optional<TooltipComponent>
g(cuq 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(cuq arg0, cul$b arg1, List<wz> arg2, cwm arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_vorddnax$C_rdhfmrgz arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipConfig arg3)
m_7373_(C_1391_ p_329599_, C_1381_$C_313602_ p_150751_, List<C_4996_> p_150752_, C_1431_ arg3)
public void
a(cjh 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)
private void
a(bsr arg0)
playRemoveOneSound(Entity arg0)
method_38074(class_1297 arg0)
m_hovrsjet(C_astfners arg0)
playRemoveOneSound(Entity entity)
playRemoveOneSound(Entity entity)
m_186342_(C_507_ arg0)
private void
b(bsr arg0)
playInsertSound(Entity arg0)
method_38076(class_1297 arg0)
m_ybktmnyl(C_astfners arg0)
playInsertSound(Entity entity)
playInsertSound(Entity entity)
m_186351_(C_507_ arg0)
private void
c(bsr arg0)
playDropContentsSound(Entity arg0)
method_38077(class_1297 arg0)
m_imyryhnq(C_astfners arg0)
playDropContentsSound(Entity entity)
playDropContentsSound(Entity entity)
m_186353_(C_507_ arg0)