net.minecraft.component.type

public abstract class AbstractContainerComponentBuilder<T>

implements AbstractContainerComponent$Builder<T>

net.minecraft.world.item.component.SimpleMutableContainer
net.minecraft.class_1_1116
net.minecraft.component.type.AbstractContainerComponentBuilder

Field summary

Modifier and TypeField
protected final List<ItemStack>
items
field_1_7677
stacks

Constructor summary

ModifierConstructor
public (List<ItemStack> stacks)

Method summary

Modifier and TypeMethod
public Stream<ItemStack>
itemCopies()
method_1_132()
itemCopies()
public int
size()
method_1_6668()
size()
public int
replaceSlotItems(ItemProvider newItems, SlotSelector slotSelector)
method_1_6667(class_1_1040 arg0, class_1_1052 arg1)
copyFrom(ItemIterator arg0, SlotSelector arg1)
public void
modifySlots(Consumer<? super SlotAccess> consumer, SlotSelector slotSelector)
method_1_6665(Consumer<? super class_5630> arg0, class_1_1052 arg1)
forEach(Consumer<? super StackReference> arg0, SlotSelector arg1)
protected int
insertNewSlots(ItemProvider newItems, SlotSelector slotSelector)
method_1_7069(class_1_1040 arg0, class_1_1052 arg1)
addItemStacks(ItemIterator itemStacks, SlotSelector slotSelector)
protected boolean
setItem(int slot, ItemStack itemStack)
method_1_7072(int arg0, class_1799 arg1)
set(int index, ItemStack stack)
protected boolean
addSlotWithItem(ItemStack itemStack)
method_1_7067(class_1799 arg0)
addItemStack(ItemStack stack)
public boolean
canInsertNewSlots()
method_1_7068()
canAcceptMoreItems()
private void
lambda$modifySlots$1(int arg0, ItemStack arg1)
method_1_7071(int arg0, class_1799 arg1)
method_1_7071(int arg0, ItemStack stack)
private ItemStack
lambda$modifySlots$0(int arg0)
method_1_7070(int arg0)
method_1_7070(int arg0)