History - net.minecraft.world.item.component.ItemContainerContents

1.21.3

Names

cxo

dah

Fields

int: d, NO_SLOT, field_51410, ALL_SLOTS_EMPTY, f_315580_

int: d, NO_SLOT, field_51410, ALL_SLOTS_EMPTY

int: e, MAX_SIZE, field_49337, MAX_SLOTS, f_316430_

int: e, MAX_SIZE, field_49337, MAX_SLOTS

ItemContainerContents: a, EMPTY, field_49334, DEFAULT, f_316619_

ItemContainerContents: a, EMPTY, field_49334, DEFAULT

com.mojang.serialization.Codec<ItemContainerContents>: b, CODEC, field_49335, CODEC, f_315263_

com.mojang.serialization.Codec<ItemContainerContents>: b, CODEC, field_49335, CODEC

StreamCodec<RegistryFriendlyByteBuf, ItemContainerContents>: c, STREAM_CODEC, field_49336, PACKET_CODEC, f_315529_

StreamCodec<RegistryFriendlyByteBuf, ItemContainerContents>: c, STREAM_CODEC, field_49336, PACKET_CODEC

NonNullList<ItemStack>: f, items, field_49338, stacks, f_315560_

NonNullList<ItemStack>: f, items, field_49338, stacks

int: g, hashCode, field_51511, hashCode, f_316776_

int: g, hashCode, field_51511, hashCode

Constructors

Methods

ItemContainerContents (List<ItemContainerContents$Slot>): b, fromSlots, method_57496, fromSlots, m_323974_

ItemContainerContents (List<ItemContainerContents$Slot>): b, fromSlots, method_57496, fromSlots

ItemContainerContents (List<ItemStack>): a, fromItems, method_57493, fromStacks, m_320241_

ItemContainerContents (List<ItemStack>): a, fromItems, method_57493, fromStacks

int (List<ItemStack>): c, findLastNonEmptySlot, method_59713, findLastNonEmptyIndex, m_321762_

int (List<ItemStack>): c, findLastNonEmptySlot, method_59713, findLastNonEmptyIndex

List<ItemContainerContents$Slot> (): f, asSlots, method_57494, collectSlots, m_323947_

List<ItemContainerContents$Slot> (): f, asSlots, method_57494, collectSlots

void (NonNullList<ItemStack>): a, copyInto, method_57492, copyTo, m_322022_

void (NonNullList<ItemStack>): a, copyInto, method_57492, copyTo

ItemStack (): a, copyOne, method_58114, copyFirstStack, m_322549_

ItemStack (): a, copyOne, method_58114, copyFirstStack

Stream<ItemStack> (): b, stream, method_57489, stream, m_324244_

Stream<ItemStack> (): b, stream, method_57489, stream

Stream<ItemStack> (): c, nonEmptyStream, method_59712, streamNonEmpty, m_320494_

Stream<ItemStack> (): c, nonEmptyStream, method_59712, streamNonEmpty

Iterable<ItemStack> (): d, nonEmptyItems, method_59714, iterateNonEmpty, m_318832_

Iterable<ItemStack> (): d, nonEmptyItems, method_59714, iterateNonEmpty

Iterable<ItemStack> (): e, nonEmptyItemsCopy, method_59715, iterateNonEmptyCopy, m_324961_

Iterable<ItemStack> (): e, nonEmptyItemsCopy, method_59715, iterateNonEmptyCopy

1.21.1

Names

Fields

Constructors

Methods

int (List<ItemStack>): c, findLastNonEmptySlot, method_59713, findFirstNonEmptyIndex, m_321762_

int (List<ItemStack>): c, findLastNonEmptySlot, method_59713, findLastNonEmptyIndex, m_321762_

1.21

Names

cxn

cxo

Fields

Constructors

Methods

1.20.6

Names

cxn

net.minecraft.world.item.component.ItemContainerContents

net.minecraft.class_9288

net.minecraft.component.type.ContainerComponent

net.minecraft.src.C_313365_

net.minecraft.world.item.component.ItemContainerContents

Fields

int: d, NO_SLOT, field_51410, ALL_SLOTS_EMPTY, f_315580_

int: e, MAX_SIZE, field_49337, MAX_SLOTS, f_316430_

ItemContainerContents: a, EMPTY, field_49334, DEFAULT, f_316619_

com.mojang.serialization.Codec<ItemContainerContents>: b, CODEC, field_49335, CODEC, f_315263_

StreamCodec<RegistryFriendlyByteBuf, ItemContainerContents>: c, STREAM_CODEC, field_49336, PACKET_CODEC, f_315529_

NonNullList<ItemStack>: f, items, field_49338, stacks, f_315560_

int: g, hashCode, field_51511, hashCode, f_316776_

Constructors

(NonNullList<ItemStack>)

(int)

(List<ItemStack>)

Methods

ItemContainerContents (List<ItemContainerContents$Slot>): b, fromSlots, method_57496, fromSlots, m_323974_

ItemContainerContents (List<ItemStack>): a, fromItems, method_57493, fromStacks, m_320241_

int (List<ItemStack>): c, findLastNonEmptySlot, method_59713, findFirstNonEmptyIndex, m_321762_

List<ItemContainerContents$Slot> (): f, asSlots, method_57494, collectSlots, m_323947_

void (NonNullList<ItemStack>): a, copyInto, method_57492, copyTo, m_322022_

ItemStack (): a, copyOne, method_58114, copyFirstStack, m_322549_

Stream<ItemStack> (): b, stream, method_57489, stream, m_324244_

Stream<ItemStack> (): c, nonEmptyStream, method_59712, streamNonEmpty, m_320494_

Iterable<ItemStack> (): d, nonEmptyItems, method_59714, iterateNonEmpty, m_318832_

Iterable<ItemStack> (): e, nonEmptyItemsCopy, method_59715, iterateNonEmptyCopy, m_324961_