History - net.minecraft.world.item.component.BundleContents
1.21.3
Names
cxf
czt
Fields
BundleContents: a, EMPTY, field_49289, DEFAULT, f_316266_
BundleContents: a, EMPTY, field_49289, DEFAULT
com.mojang.serialization.Codec<BundleContents>: b, CODEC, field_49290, CODEC, f_316485_
com.mojang.serialization.Codec<BundleContents>: b, CODEC, field_49290, CODEC
StreamCodec<RegistryFriendlyByteBuf, BundleContents>: c, STREAM_CODEC, field_49291, PACKET_CODEC, f_316702_
StreamCodec<RegistryFriendlyByteBuf, BundleContents>: c, STREAM_CODEC, field_49291, PACKET_CODEC
org.apache.commons.lang3.math.Fraction: d, BUNDLE_IN_BUNDLE_WEIGHT, field_49292, NESTED_BUNDLE_OCCUPANCY, f_314974_
org.apache.commons.lang3.math.Fraction: e, BUNDLE_IN_BUNDLE_WEIGHT, field_49292, NESTED_BUNDLE_OCCUPANCY
int: e, NO_STACK_INDEX, field_49293, ADD_TO_NEW_SLOT, f_314700_
int: f, NO_STACK_INDEX, field_49293, ADD_TO_NEW_SLOT
List<ItemStack>: f, items, field_49294, stacks, f_316519_
List<ItemStack>: g, items, field_49294, stacks
org.apache.commons.lang3.math.Fraction: g, weight, field_49295, occupancy, f_314240_
org.apache.commons.lang3.math.Fraction: h, weight, field_49295, occupancy
int: d, NO_SELECTED_ITEM_INDEX, field_52591, field_52591
int: i, selectedItem, field_52592, selectedStackIndex
Constructors
(List<ItemStack>, org.apache.commons.lang3.math.Fraction)
(List<ItemStack>, org.apache.commons.lang3.math.Fraction, int)
Methods
org.apache.commons.lang3.math.Fraction (List<ItemStack>): a, computeContentWeight, method_57425, calculateOccupancy, m_319074_
org.apache.commons.lang3.math.Fraction (List<ItemStack>): b, computeContentWeight, method_57425, calculateOccupancy
org.apache.commons.lang3.math.Fraction (ItemStack): a, getWeight, method_57423, getOccupancy, m_323521_
org.apache.commons.lang3.math.Fraction (ItemStack): b, getWeight, method_57423, getOccupancy
ItemStack (int): a, getItemUnsafe, method_57422, get, m_321524_
ItemStack (int): a, getItemUnsafe, method_57422, get
Stream<ItemStack> (): a, itemCopyStream, method_59707, stream, m_324878_
Stream<ItemStack> (): b, itemCopyStream, method_59707, stream
Iterable<ItemStack> (): b, items, method_57421, iterate, m_323607_
Iterable<ItemStack> (): c, items, method_57421, iterate
Iterable<ItemStack> (): c, itemsCopy, method_59708, iterateCopy, m_322107_
Iterable<ItemStack> (): d, itemsCopy, method_59708, iterateCopy
int (): d, size, method_57426, size, m_321706_
int (): e, size, method_57426, size
org.apache.commons.lang3.math.Fraction (): e, weight, method_57428, getOccupancy, m_320631_
org.apache.commons.lang3.math.Fraction (): f, weight, method_57428, getOccupancy
boolean (): f, isEmpty, method_57429, isEmpty, m_319610_
boolean (): g, isEmpty, method_57429, isEmpty
com.mojang.serialization.DataResult<BundleContents> (List<ItemStack>): a, checkAndCreate, method_65061, validateOccupancy
boolean (ItemStack): a, canItemBeInBundle, method_61667, canBeBundled
int (): a, getNumberOfItemsToShow, method_61666, getNumberOfStacksShown
int (): h, getSelectedItem, method_61668, getSelectedStackIndex
boolean (): i, hasSelectedItem, method_61669, hasSelectedStack
1.21.1
Names
Fields
Constructors
Methods
1.21
Names
cxe
cxf
Fields
Constructors
Methods
1.20.6
Names
cxe
net.minecraft.world.item.component.BundleContents
net.minecraft.class_9276
net.minecraft.component.type.BundleContentsComponent
net.minecraft.src.C_313255_
net.minecraft.world.item.component.BundleContents
Fields
BundleContents: a, EMPTY, field_49289, DEFAULT, f_316266_
com.mojang.serialization.Codec<BundleContents>: b, CODEC, field_49290, CODEC, f_316485_
StreamCodec<RegistryFriendlyByteBuf, BundleContents>: c, STREAM_CODEC, field_49291, PACKET_CODEC, f_316702_
org.apache.commons.lang3.math.Fraction: d, BUNDLE_IN_BUNDLE_WEIGHT, field_49292, NESTED_BUNDLE_OCCUPANCY, f_314974_
int: e, NO_STACK_INDEX, field_49293, ADD_TO_NEW_SLOT, f_314700_
List<ItemStack>: f, items, field_49294, stacks, f_316519_
org.apache.commons.lang3.math.Fraction: g, weight, field_49295, occupancy, f_314240_
Constructors
(List<ItemStack>, org.apache.commons.lang3.math.Fraction)
Methods
org.apache.commons.lang3.math.Fraction (List<ItemStack>): a, computeContentWeight, method_57425, calculateOccupancy, m_319074_
org.apache.commons.lang3.math.Fraction (ItemStack): a, getWeight, method_57423, getOccupancy, m_323521_
ItemStack (int): a, getItemUnsafe, method_57422, get, m_321524_
Stream<ItemStack> (): a, itemCopyStream, method_59707, stream, m_324878_
Iterable<ItemStack> (): b, items, method_57421, iterate, m_323607_
Iterable<ItemStack> (): c, itemsCopy, method_59708, iterateCopy, m_322107_
int (): d, size, method_57426, size, m_321706_
org.apache.commons.lang3.math.Fraction (): e, weight, method_57428, getOccupancy, m_320631_
boolean (): f, isEmpty, method_57429, isEmpty, m_319610_