Interface ItemContainerContents.Builder
- All Superinterfaces:
DataComponentBuilder<ItemContainerContents>
- Enclosing interface:
ItemContainerContents
@Experimental
@NonExtendable
public static interface ItemContainerContents.Builder
extends DataComponentBuilder<ItemContainerContents>
-
Method Summary
Modifier and TypeMethodDescriptionAdds an item stack to the container.Adds item stacks to the container.Methods inherited from interface DataComponentBuilder
build
-
Method Details
-
add
Adds an item stack to the container.- Parameters:
stack- the item stack- Returns:
- the builder for chaining
- See Also:
-
addAll
-