Interface ChargedProjectiles.Builder
- All Superinterfaces:
DataComponentBuilder<ChargedProjectiles>
- Enclosing interface:
ChargedProjectiles
@Experimental
@NonExtendable
public static interface ChargedProjectiles.Builder
extends DataComponentBuilder<ChargedProjectiles>
Builder for
ChargedProjectiles
.-
Method Summary
Modifier and TypeMethodDescriptionAdds a projectile to be loaded in this builder.Adds projectiles to be loaded in this builder.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
add
Adds a projectile to be loaded in this builder.- Parameters:
stack
- projectile- Returns:
- the builder for chaining
- See Also:
-
addAll
@Contract(value="_ -> this", mutates="this") ChargedProjectiles.Builder addAll(List<ItemStack> stacks) Adds projectiles to be loaded in this builder.- Parameters:
stacks
- projectiles- Returns:
- the builder for chaining
- See Also:
-