net.minecraft.world.level.storage.loot

public interface ContainerComponentManipulator<T>

ewm
net.minecraft.world.level.storage.loot.ContainerComponentManipulator
net.minecraft.class_9666
net.minecraft.loot.ContainerComponentModifier
net.minecraft.world.level.storage.loot.ContainerComponentManipulator

Method summary

Modifier and TypeMethod
DataComponentType<T>
a()
type()
method_59719()
getComponentType()
T
b()
empty()
method_59726()
getDefault()
T
a(T arg0, Stream<cxp> arg1)
setContents(T arg0, Stream<ItemStack> arg1)
method_59724(T arg0, Stream<class_1799> arg1)
apply(T component, Stream<ItemStack> contents)
Stream<ItemStack>
a(T arg0)
getContents(T arg0)
method_59723(T arg0)
stream(T component)
default void
a(cxp arg0, T arg1, Stream<cxp> arg2)
setContents(ItemStack arg0, T arg1, Stream<ItemStack> arg2)
method_59720(class_1799 arg0, T arg1, Stream<class_1799> arg2)
apply(ItemStack stack, T component, Stream<ItemStack> contents)
default void
a(cxp arg0, Stream<cxp> arg1)
setContents(ItemStack arg0, Stream<ItemStack> arg1)
method_59722(class_1799 arg0, Stream<class_1799> arg1)
apply(ItemStack stack, Stream<ItemStack> contents)
default void
a(cxp arg0, UnaryOperator<cxp> arg1)
modifyItems(ItemStack arg0, UnaryOperator<ItemStack> arg1)
method_59721(class_1799 arg0, UnaryOperator<class_1799> arg1)
apply(ItemStack stack, UnaryOperator<ItemStack> contentsOperator)