Interface ContainerComponentManipulator<T>
public interface ContainerComponentManipulator<T>
-
Method Summary
Modifier and TypeMethodDescriptionempty()
getContents
(T p_336301_) default void
modifyItems
(ItemStack p_335094_, UnaryOperator<ItemStack> p_330990_) default void
setContents
(ItemStack p_331343_, Stream<ItemStack> p_333653_) default void
setContents
(ItemStack p_333844_, T p_334408_, Stream<ItemStack> p_331739_) setContents
(T p_331842_, Stream<ItemStack> p_327717_) type()
-
Method Details
-
type
DataComponentType<T> type() -
empty
T empty() -
setContents
-
getContents
-
setContents
-
setContents
-
modifyItems
-