History - net.minecraft.component.type.BundleContentsComponent

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

Stream<ItemStack> (): itemCopyStream, method_59707, stream

Stream<ItemStack> (): itemCopies, method_59707, stream

com.mojang.serialization.DataResult<org.apache.commons.lang3.math.Fraction> (ItemStackView): getWeight, method_57423, getOccupancy

com.mojang.serialization.DataResult<org.apache.commons.lang3.math.Fraction> (ItemStackView): getWeight, method_57423, getPerItemOccupancy

BundleContentsComponent (Stream<ItemStack>): copyWithContents, method_1_7001, fromItemStacks

BundleContentsComponent$Builder (): asMutable, method_1_7000, toBuilder

AbstractContainerComponent$Builder (): asMutable, method_1_7000, toBuilder

AbstractContainerComponent (Stream): copyWithContents, method_1_7001, fromItemStacks

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

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

com.mojang.serialization.DataResult<org.apache.commons.lang3.math.Fraction>: BEEHIVE_WEIGHT, field_1_1029, FULL

Supplier<com.mojang.serialization.DataResult<org.apache.commons.lang3.math.Fraction>>: weight, field_1_1030, occupancySupplier

Constructors

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

(List<SimpleItemStackView>, int)

Methods

com.mojang.serialization.DataResult<BundleContentsComponent> (List<ItemStack>): checkAndCreate, method_65061, validateOccupancy

org.apache.commons.lang3.math.Fraction (List<ItemStack>): computeContentWeight, method_57425, calculateOccupancy

org.apache.commons.lang3.math.Fraction (ItemStack): getWeight, method_57423, getOccupancy

ItemStack (int): getItemUnsafe, method_57422, get

Iterable<ItemStack> (): items, method_57421, iterate

Iterable<ItemStack> (): itemsCopy, method_59708, iterateCopy

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

int (): getSelectedItem, method_61668, getSelectedStackIndex

int (): getSelectedItemIndex, method_61668, getSelectedStackIndex

boolean (): hasSelectedItem, method_61669, hasSelectedStack

String (): lambda$checkAndCreate$2, method_65062, method_65062

String (): lambda$computeContentWeight$0, method_65062, method_65062

com.mojang.serialization.DataResult (BundleContentsComponent): lambda$static$0, method_57427, method_57427

com.mojang.serialization.DataResult<org.apache.commons.lang3.math.Fraction> (List<? extends ItemStackView>): computeContentWeight, method_57425, calculateOccupancy

com.mojang.serialization.DataResult<org.apache.commons.lang3.math.Fraction> (ItemStackView): getWeight, method_57423, getOccupancy

List<SimpleItemStackView> (): items, method_57421, iterate

com.mojang.serialization.DataResult<org.apache.commons.lang3.math.Fraction> (): weight, method_57428, getOccupancy

SimpleItemStackView (): getSelectedItem, method_1_1025, getSelectedStack

org.apache.commons.lang3.math.Fraction (org.apache.commons.lang3.math.Fraction): lambda$getWeight$0, method_1_1026, method_1_1026

com.mojang.serialization.DataResult (): lambda$new$0, method_1_1027, method_1_1027

List (BundleContentsComponent): lambda$static$0, method_1_1028, method_1_1028

1.21.11_unobfuscated

Names

net.minecraft.world.item.component.BundleContents

net.minecraft.class_9276

net.minecraft.component.type.BundleContentsComponent

Fields

BundleContentsComponent: EMPTY, field_49289, DEFAULT

com.mojang.serialization.Codec<BundleContentsComponent>: CODEC, field_49290, CODEC

PacketCodec<RegistryByteBuf, BundleContentsComponent>: STREAM_CODEC, field_49291, PACKET_CODEC

org.apache.commons.lang3.math.Fraction: BUNDLE_IN_BUNDLE_WEIGHT, field_49292, NESTED_BUNDLE_OCCUPANCY

int: NO_STACK_INDEX, field_49293, ADD_TO_NEW_SLOT

int: NO_SELECTED_ITEM_INDEX, field_52591, field_52591

List<ItemStack>: items, field_49294, stacks

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

int: selectedItem, field_52592, selectedStackIndex

Constructors

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

(List<ItemStack>)

Methods

com.mojang.serialization.DataResult<BundleContentsComponent> (List<ItemStack>): checkAndCreate, method_65061, validateOccupancy

org.apache.commons.lang3.math.Fraction (List<ItemStack>): computeContentWeight, method_57425, calculateOccupancy

org.apache.commons.lang3.math.Fraction (ItemStack): getWeight, method_57423, getOccupancy

boolean (ItemStack): canItemBeInBundle, method_61667, canBeBundled

int (): getNumberOfItemsToShow, method_61666, getNumberOfStacksShown

ItemStack (int): getItemUnsafe, method_57422, get

Stream<ItemStack> (): itemCopyStream, method_59707, stream

Iterable<ItemStack> (): items, method_57421, iterate

Iterable<ItemStack> (): itemsCopy, method_59708, iterateCopy

int (): size, method_57426, size

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

boolean (): isEmpty, method_57429, isEmpty

int (): getSelectedItem, method_61668, getSelectedStackIndex

boolean (): hasSelectedItem, method_61669, hasSelectedStack

String (): lambda$checkAndCreate$2, method_65062, method_65062

List (BundleContentsComponent): lambda$static$1, method_57424, method_57424

com.mojang.serialization.DataResult (BundleContentsComponent): lambda$static$0, method_57427, method_57427