历史 - net.minecraft.world.item.component.ItemContainerContents

1.21.11

名称

dki

doo

字段

构造函数

方法

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

dfn

dki

字段

构造函数

方法

1.21.8

名称

字段

构造函数

方法

1.21.7

名称

字段

构造函数

方法

1.21.6

名称

ddc

dfn

字段

构造函数

方法

1.21.5

名称

czi

ddc

字段

构造函数

方法

void (Item$TooltipContext, Consumer<Component>, TooltipFlag, DataComponentGetter): a, addToTooltip, method_57409, appendTooltip, m_319025_

1.21.4

名称

dah

czi

字段

构造函数

方法

1.21.3

名称

cxo

dah

字段

构造函数

方法

1.21.1

名称

字段

构造函数

方法

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

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

1.21

名称

cxn

cxo

字段

构造函数

方法

1.20.6

名称

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

字段

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_

构造函数

(NonNullList<ItemStack>)

(int)

(List<ItemStack>)

方法

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_