net.minecraft.world.item

public class BundleItem

extends Item

All mapped superinterfaces:

ItemLike

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

Field summary

Modifier and TypeField
private static final String
b
TAG_ITEMS
field_30858
f_fbhhhrdl
ITEMS_KEY
f_150721_
public static final int
a
MAX_WEIGHT
field_30857
f_ejllokbf
MAX_STORAGE
f_150720_
private static final int
c
BUNDLE_IN_BUNDLE_WEIGHT
field_30859
f_ddkcqaqi
field_30859
f_150722_
private static final int
d
BAR_COLOR
field_27016
f_iabcagke
ITEM_BAR_COLOR
f_150723_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static float
d(bue arg0)
getFullnessDisplay(ItemStack arg0)
method_31561(class_1799 arg0)
m_tqvwwmtg(C_sddaxwyk arg0)
getAmountFilled(ItemStack stack)
m_150766_(C_1391_ p_150767_)
public boolean
a(bue arg0, bro arg1, bqf arg2, bnr 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)
m_142207_(C_1391_ p_150734_, C_1305_ p_150735_, C_141163_ p_150736_, C_1141_ arg3)
public boolean
a(bue arg0, bue arg1, bro arg2, bqf arg3, bnr arg4, axy 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)
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(cad arg0, bnr arg1, avp 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)
m_7203_(C_1596_ p_150761_, C_1141_ p_150762_, C_470_ arg2)
public boolean
e(bue arg0)
isBarVisible(ItemStack arg0)
method_31567(class_1799 arg0)
m_dzfzcxuk(C_sddaxwyk arg0)
isItemBarVisible(ItemStack arg0)
m_142522_(C_1391_ arg0)
public int
f(bue arg0)
getBarWidth(ItemStack arg0)
method_31569(class_1799 arg0)
m_dzyyhvup(C_sddaxwyk arg0)
getItemBarStep(ItemStack arg0)
m_142158_(C_1391_ arg0)
public int
g(bue arg0)
getBarColor(ItemStack arg0)
method_31571(class_1799 arg0)
m_wolmtjeu(C_sddaxwyk arg0)
getItemBarColor(ItemStack arg0)
m_142159_(C_1391_ arg0)
private static int
b(bue arg0, bue arg1)
add(ItemStack arg0, ItemStack arg1)
method_31560(class_1799 arg0, class_1799 arg1)
m_vdmqbvew(C_sddaxwyk arg0, C_sddaxwyk arg1)
addToBundle(ItemStack bundle, ItemStack stack)
m_150763_(C_1391_ p_150764_, C_1391_ p_150765_)
private static Optional<CompoundTag>
a(bue arg0, oi arg1)
getMatchingItem(ItemStack arg0, ListTag arg1)
method_32344(class_1799 arg0, class_2499 arg1)
m_xkoucyzn(C_sddaxwyk arg0, C_hqhtfwlr arg1)
canMergeStack(ItemStack stack, NbtList items)
m_150756_(C_1391_ p_150757_, C_4930_ p_150758_)
private static int
k(bue arg0)
getWeight(ItemStack arg0)
method_31562(class_1799 arg0)
m_kiziwjbi(C_sddaxwyk arg0)
getItemOccupancy(ItemStack stack)
m_150776_(C_1391_ p_150777_)
private static int
o(bue arg0)
getContentWeight(ItemStack arg0)
method_31563(class_1799 arg0)
m_fxhyadep(C_sddaxwyk arg0)
getBundleOccupancy(ItemStack stack)
m_150778_(C_1391_ p_150779_)
private static Optional<ItemStack>
p(bue arg0)
removeOne(ItemStack arg0)
method_32759(class_1799 arg0)
m_jfjqdowk(C_sddaxwyk arg0)
removeFirstStack(ItemStack stack)
m_150780_(C_1391_ p_150781_)
private static boolean
a(bue arg0, bnr 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)
m_150729_(C_1391_ p_150730_, C_1141_ p_150731_)
private static Stream<ItemStack>
q(bue arg0)
getContents(ItemStack arg0)
method_32345(class_1799 arg0)
m_lozkdgow(C_sddaxwyk arg0)
getBundledStacks(ItemStack stack)
m_150782_(C_1391_ p_150783_)
public Optional<TooltipComponent>
h(bue arg0)
getTooltipImage(ItemStack arg0)
method_32346(class_1799 arg0)
m_cqkbztpf(C_sddaxwyk arg0)
getTooltipData(ItemStack arg0)
m_142422_(C_1391_ arg0)
public void
a(bue arg0, cad arg1, List<pz> arg2, bvr arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_cdctfzbn arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
m_7373_(C_1391_ p_150750_, C_1596_ p_150751_, List<C_4996_> p_150752_, C_1431_ arg3)
public void
a(bkq arg0)
onDestroyed(ItemEntity arg0)
method_33261(class_1542 arg0)
m_ectuffur(C_uqpzijng arg0)
onItemEntityDestroyed(ItemEntity arg0)
m_142023_(C_976_ arg0)
private void
a(awt arg0)
playRemoveOneSound(Entity arg0)
method_38074(class_1297 arg0)
m_hovrsjet(C_astfners arg0)
playRemoveOneSound(Entity entity)
m_186342_(C_507_ arg0)
private void
b(awt arg0)
playInsertSound(Entity arg0)
method_38076(class_1297 arg0)
m_ybktmnyl(C_astfners arg0)
playInsertSound(Entity entity)
m_186351_(C_507_ arg0)
private void
c(awt arg0)
playDropContentsSound(Entity arg0)
method_38077(class_1297 arg0)
m_imyryhnq(C_astfners arg0)
playDropContentsSound(Entity entity)
m_186353_(C_507_ arg0)