History - net.minecraft.component.type.BundleContentsComponent$Builder

26.3

Names

Fields

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

boolean: needsFlattening, needsFlattening, field_1_7507, dirty

Constructors

(BundleContentsComponent)

(List<ItemStack>, org.apache.commons.lang3.math.Fraction, int)

()

Methods

BundleContentsComponent (): toImmutable, toImmutable, method_57435, build

BundleContentsComponent (): toImmutable, toImmutable, method_1_7002, build

int (ItemStack, int, int): findStackIndexWithinRange, findStackIndexWithinRange, method_1_6861, getInsertionIndex

org.apache.commons.lang3.math.Fraction (org.apache.commons.lang3.math.Fraction, int): getStackedWeight, getStackedWeight, method_1_6863, getTotalStackOccupancy

org.apache.commons.lang3.math.Fraction (ItemStack): getStackedWeight, getStackedWeight, method_1_6862, getTotalStackOccupancy

int (ItemIterator, SlotSelector): replaceSlotItems, replaceSlotItems, method_1_6667, copyFrom

void (Consumer<? super StackReference>, SlotSelector): modifySlots, modifySlots, method_1_6665, forEach

boolean (int, ItemStack): setItem, setItem, method_1_7072, set

boolean (ItemIterator): addSlotWithItem, addSlotWithItem, method_1_7067, addItemStack

org.apache.commons.lang3.math.Fraction (org.apache.commons.lang3.math.Fraction, ItemStack): getWeightWithAddedItems, getWeightWithAddedItems, method_1_6864, getOccupancyAfterInsertion

boolean (): canInsertNewSlots, canInsertNewSlots, method_1_7068, canAcceptMoreItems

void (): mergeIdenticalStacks, mergeIdenticalStacks, method_1_6865, collapse

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

dnz$a

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

net.minecraft.class_9276$class_9277

net.minecraft.component.type.BundleContentsComponent$Builder

Fields

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

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

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

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

int: c, selectedItem, field_52593, selectedStackIndex, f_lagpskyq, selectedStackIndex, f_346237_

int: selectedItem, selectedItem, field_52593, selectedStackIndex

Constructors

Methods

BundleContentsComponent$Builder (): a, clearItems, method_59709, clear, m_sxjflkev, clear, m_321086_

BundleContentsComponent$Builder (): clearItems, clearItems, method_59709, clear

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

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

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

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

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

int (Slot, PlayerEntity): a, tryTransfer, method_57431, add, m_sycwuodw, tryTransfer, m_325088_

int (Slot, PlayerEntity): tryTransfer, tryTransfer, method_57431, add

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

ItemStack (): removeOne, removeOne, method_57430, removeSelected

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

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

BundleContentsComponent (): d, toImmutable, method_57435, build, m_lrhhcvgk, build, m_322369_

BundleContentsComponent (): toImmutable, toImmutable, method_57435, build

void (int): a, toggleSelectedItem, method_64662, setSelectedStackIndex, m_abwtvznm, selectedStackIndex, m_353030_

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

boolean (int): b, indexIsOutsideAllowedBounds, method_66335, isOutOfBounds, m_chuuddgz, isInvalid, m_385393_

boolean (int): indexIsOutsideAllowedBounds, indexIsOutsideAllowedBounds, method_66335, isOutOfBounds

int (org.apache.commons.lang3.math.Fraction): getMaxAmountToAdd, getMaxAmountToAdd, method_57436, getMaxAllowed

1.21.11

Names

djt$a

dnz$a

Fields

Constructors

Methods

1.21.10

Names

Fields

Constructors

Methods

1.21.9

Names

dey$a

djt$a

Fields

Constructors

Methods

1.21.8

Names

Fields

Constructors

Methods

1.21.7

Names

Fields

int: c, selectedItem, field_52593, selectedStackIndex, f_lagpskyq, f_346237_

int: c, selectedItem, field_52593, selectedStackIndex, f_lagpskyq, selectedStackIndex, f_346237_

Constructors

Methods

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

void (int): a, toggleSelectedItem, method_64662, setSelectedStackIndex, m_abwtvznm, selectedStackIndex, m_353030_

boolean (int): b, indexIsOutsideAllowedBounds, method_66335, isOutOfBounds, m_chuuddgz, m_385393_

boolean (int): b, indexIsOutsideAllowedBounds, method_66335, isOutOfBounds, m_chuuddgz, isInvalid, m_385393_

1.21.6

Names

dcn$a

dey$a

Fields

Constructors

Methods

1.21.5

Names

cyu$a

dcn$a

Fields

Constructors

Methods

boolean (int): b, indexIsOutsideAllowedBounds, method_66335, isOutOfBounds, m_chuuddgz, m_385393_

1.21.4

Names

czt$a

cyu$a

Fields

Constructors

Methods

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

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

1.21.3

Names

cxf$a

czt$a

Fields

int: c, selectedItem, field_52593, selectedStackIndex, f_lagpskyq, f_346237_

Constructors

Methods

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

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

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

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

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

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.unmapped.C_rdabfjzm$C_yphifkae

net.minecraft.component.type.BundleContentsComponent$Builder

net.minecraft.src.C_313255_$C_313858_

Fields

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

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

Constructors

(BundleContentsComponent)

Methods

BundleContentsComponent$Builder (): a, clearItems, method_59709, clear, m_sxjflkev, clear, m_321086_

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

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

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

int (Slot, PlayerEntity): a, tryTransfer, method_57431, add, m_sycwuodw, tryTransfer, m_325088_

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

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

BundleContentsComponent (): d, toImmutable, method_57435, build, m_lrhhcvgk, build, m_322369_