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.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
stacks
f_314198_
private org.apache.commons.lang3.math.Fraction
b
weight
field_49297
occupancy
f_315301_

Constructor summary

ModifierConstructor
public (BundleContents base)

Method summary

Modifier and TypeMethod
public BundleContents$Mutable
a()
clearItems()
method_59709()
clear()
m_321086_()
private int
b(cur arg0)
findStackIndex(ItemStack arg0)
method_57434(class_1799 arg0)
addInternal(ItemStack stack)
m_324669_(C_1391_ arg0)
private int
c(cur arg0)
getMaxAmountToAdd(ItemStack arg0)
method_57436(class_1799 arg0)
getMaxAllowed(ItemStack stack)
m_323004_(C_1391_ arg0)
public int
a(cur arg0)
tryInsert(ItemStack arg0)
method_57432(class_1799 arg0)
add(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)
add(Slot slot, PlayerEntity player)
m_325088_(C_1305_ p_329130_, C_1141_ arg1)
public ItemStack
b()
removeOne()
method_57430()
removeFirst()
m_324664_()
public org.apache.commons.lang3.math.Fraction
c()
weight()
method_57433()
getOccupancy()
m_321048_()
public BundleContents
d()
toImmutable()
method_57435()
build()
m_322369_()