History - net.minecraft.world.item.component.BundleContents$Mutable

1.21.3

Names

cxf$a

czt$a

Fields

List<ItemStack>: a, items, field_49296, stacks, f_314198_

List<ItemStack>: a, items, field_49296, stacks

org.apache.commons.lang3.math.Fraction: b, weight, field_49297, occupancy, f_315301_

org.apache.commons.lang3.math.Fraction: b, weight, field_49297, occupancy

int: c, selectedItem, field_52593, selectedStackIndex

Constructors

Methods

BundleContents$Mutable (): a, clearItems, method_59709, clear, m_321086_

BundleContents$Mutable (): a, clearItems, method_59709, clear

int (ItemStack): b, findStackIndex, method_57434, addInternal, m_324669_

int (ItemStack): b, findStackIndex, method_57434, getInsertionIndex

int (ItemStack): c, getMaxAmountToAdd, method_57436, getMaxAllowed, m_323004_

int (ItemStack): c, getMaxAmountToAdd, method_57436, getMaxAllowed

int (ItemStack): a, tryInsert, method_57432, add, m_319811_

int (ItemStack): a, tryInsert, method_57432, add

int (Slot, Player): a, tryTransfer, method_57431, add, m_325088_

int (Slot, Player): a, tryTransfer, method_57431, add

ItemStack (): b, removeOne, method_57430, removeFirst, m_324664_

ItemStack (): b, removeOne, method_57430, removeSelected

org.apache.commons.lang3.math.Fraction (): c, weight, method_57433, getOccupancy, m_321048_

org.apache.commons.lang3.math.Fraction (): c, weight, method_57433, getOccupancy

BundleContents (): d, toImmutable, method_57435, build, m_322369_

BundleContents (): d, toImmutable, method_57435, build

void (int): a, toggleSelectedItem, method_64662, setSelectedStackIndex

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

cxe$a

cxf$a

Fields

Constructors

Methods

1.20.6

Names

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

Fields

List<ItemStack>: a, items, field_49296, stacks, f_314198_

org.apache.commons.lang3.math.Fraction: b, weight, field_49297, occupancy, f_315301_

Constructors

(BundleContents)

Methods

BundleContents$Mutable (): a, clearItems, method_59709, clear, m_321086_

int (ItemStack): b, findStackIndex, method_57434, addInternal, m_324669_

int (ItemStack): c, getMaxAmountToAdd, method_57436, getMaxAllowed, m_323004_

int (ItemStack): a, tryInsert, method_57432, add, m_319811_

int (Slot, Player): a, tryTransfer, method_57431, add, m_325088_

ItemStack (): b, removeOne, method_57430, removeFirst, m_324664_

org.apache.commons.lang3.math.Fraction (): c, weight, method_57433, getOccupancy, m_321048_

BundleContents (): d, toImmutable, method_57435, build, m_322369_