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