net.minecraft.world.item.component

public class BundleContents$Mutable

cxe$a
net.minecraft.world.item.component.BundleContents$Mutable
net.minecraft.class_9276$class_9277
net.minecraft.unmapped.C_rdabfjzm$C_yphifkae
net.minecraft.component.type.BundleContentsComponent$Builder
net.minecraft.component.type.BundleContentsComponent$Builder
net.minecraft.src.C_313255_$C_313858_
net.minecraft.world.item.component.BundleContents$a

Field summary

Modifier and TypeField
private final List<ItemStack>
a
items
field_49296
f_yhroaggz
stacks
stacks
f_314198_
private org.apache.commons.lang3.math.Fraction
b
weight
field_49297
f_jajsrtxb
occupancy
weight
f_315301_

Constructor summary

ModifierConstructor
public (BundleContents base)

Method summary

Modifier and TypeMethod
public BundleContents$Mutable
a()
clearItems()
method_59709()
m_sxjflkev()
clear()
clear()
m_321086_()
private int
b(cur arg0)
findStackIndex(ItemStack arg0)
method_57434(class_1799 arg0)
m_twiafaxb(C_sddaxwyk arg0)
addInternal(ItemStack stack)
findStackIndex(ItemStack stack)
m_324669_(C_1391_ arg0)
private int
c(cur arg0)
getMaxAmountToAdd(ItemStack arg0)
method_57436(class_1799 arg0)
m_tbuzppwg(C_sddaxwyk arg0)
getMaxAllowed(ItemStack stack)
getMaxAllowed(ItemStack stack)
m_323004_(C_1391_ arg0)
public int
a(cur arg0)
tryInsert(ItemStack arg0)
method_57432(class_1799 arg0)
m_njvlfmlu(C_sddaxwyk arg0)
add(ItemStack stack)
tryAdd(ItemStack stack)
m_319811_(C_1391_ arg0)
public int
a(crr arg0, cmz arg1)
tryTransfer(Slot arg0, Player arg1)
method_57431(class_1735 arg0, class_1657 arg1)
m_sycwuodw(C_nhvqfffd arg0, C_jzrpycqo arg1)
add(Slot slot, PlayerEntity player)
tryTransfer(Slot slot, PlayerEntity player)
m_325088_(C_1305_ p_329130_, C_1141_ arg1)
public ItemStack
b()
removeOne()
method_57430()
m_yvduadhi()
removeFirst()
removeFirst()
m_324664_()
public org.apache.commons.lang3.math.Fraction
c()
weight()
method_57433()
m_jgvkdksp()
getOccupancy()
getWeight()
m_321048_()
public BundleContents
d()
toImmutable()
method_57435()
m_lrhhcvgk()
build()
build()
m_322369_()