net.minecraft.world.item.component

public class BundleContents$Mutable

czt$a
net.minecraft.world.item.component.BundleContents$Mutable
net.minecraft.class_9276$class_9277
net.minecraft.component.type.BundleContentsComponent$Builder
net.minecraft.world.item.component.BundleContents$a

Field summary

Modifier and TypeField
private final List<ItemStack>
a
items
field_49296
stacks
private org.apache.commons.lang3.math.Fraction
b
weight
field_49297
occupancy
private int
c
selectedItem
field_52593
selectedStackIndex

Constructor summary

ModifierConstructor
public (BundleContents base)

Method summary

Modifier and TypeMethod
public BundleContents$Mutable
a()
clearItems()
method_59709()
clear()
private int
b(cxp arg0)
findStackIndex(ItemStack arg0)
method_57434(class_1799 arg0)
getInsertionIndex(ItemStack stack)
private int
c(cxp arg0)
getMaxAmountToAdd(ItemStack arg0)
method_57436(class_1799 arg0)
getMaxAllowed(ItemStack stack)
public int
a(cxp arg0)
tryInsert(ItemStack arg0)
method_57432(class_1799 arg0)
add(ItemStack stack)
public int
a(cuz arg0, cpx arg1)
tryTransfer(Slot arg0, Player arg1)
method_57431(class_1735 arg0, class_1657 arg1)
add(Slot slot, PlayerEntity player)
public void
a(int arg0)
toggleSelectedItem(int arg0)
method_64662(int arg0)
setSelectedStackIndex(int selectedStackIndex)
public ItemStack
b()
removeOne()
method_57430()
removeSelected()
public org.apache.commons.lang3.math.Fraction
c()
weight()
method_57433()
getOccupancy()
public BundleContents
d()
toImmutable()
method_57435()
build()