net.minecraft.world.item

public class BundleItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

csy
net.minecraft.world.item.BundleItem
net.minecraft.class_5537
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
ITEM_BAR_COLOR
f_150723_
private static final int
b
TOOLTIP_MAX_WEIGHT
field_51352
field_51352
f_316822_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static float
d(cur arg0)
getFullnessDisplay(ItemStack arg0)
method_31561(class_1799 arg0)
getAmountFilled(ItemStack stack)
m_150766_(C_1391_ p_150767_)
public boolean
a(cur arg0, crr arg1, cqe arg2, cmz arg3)
overrideStackedOnOther(ItemStack arg0, Slot arg1, ClickAction arg2, Player arg3)
method_31565(class_1799 arg0, class_1735 arg1, class_5536 arg2, class_1657 arg3)
onStackClicked(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(cur arg0, cur arg1, crr arg2, cqe arg3, cmz arg4, buj 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)
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(dca arg0, cmz arg1, bqv arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_150761_, C_1141_ p_150762_, C_470_ arg2)
public boolean
e(cur arg0)
isBarVisible(ItemStack arg0)
method_31567(class_1799 arg0)
isItemBarVisible(ItemStack arg0)
m_142522_(C_1391_ arg0)
public int
f(cur arg0)
getBarWidth(ItemStack arg0)
method_31569(class_1799 arg0)
getItemBarStep(ItemStack arg0)
m_142158_(C_1391_ arg0)
public int
g(cur arg0)
getBarColor(ItemStack arg0)
method_31571(class_1799 arg0)
getItemBarColor(ItemStack arg0)
m_142159_(C_1391_ arg0)
private static boolean
a(cur arg0, cmz arg1)
dropContents(ItemStack arg0, Player arg1)
method_32757(class_1799 arg0, class_1657 arg1)
dropAllBundledItems(ItemStack stack, PlayerEntity player)
m_150729_(C_1391_ p_150730_, C_1141_ p_150731_)
public Optional<TooltipComponent>
h(cur arg0)
getTooltipImage(ItemStack arg0)
method_32346(class_1799 arg0)
getTooltipData(ItemStack arg0)
m_142422_(C_1391_ arg0)
public void
a(cur arg0, cum$b arg1, List<xp> arg2, cwk 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)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
m_7373_(C_1391_ p_329599_, C_1381_$C_313602_ p_150751_, List<C_4996_> p_150752_, C_1431_ arg3)
public void
a(cjj arg0)
onDestroyed(ItemEntity arg0)
method_33261(class_1542 arg0)
onItemEntityDestroyed(ItemEntity arg0)
m_142023_(C_976_ arg0)
private void
a(bsw arg0)
playRemoveOneSound(Entity arg0)
method_38074(class_1297 arg0)
playRemoveOneSound(Entity entity)
m_186342_(C_507_ arg0)
private void
b(bsw arg0)
playInsertSound(Entity arg0)
method_38076(class_1297 arg0)
playInsertSound(Entity entity)
m_186351_(C_507_ arg0)
private void
c(bsw arg0)
playDropContentsSound(Entity arg0)
method_38077(class_1297 arg0)
playDropContentsSound(Entity entity)
m_186353_(C_507_ arg0)