Interface SuspiciousStewEffects.Builder
- All Superinterfaces:
DataComponentBuilder<SuspiciousStewEffects>
- Enclosing interface:
SuspiciousStewEffects
@Experimental
@NonExtendable
public static interface SuspiciousStewEffects.Builder
extends DataComponentBuilder<SuspiciousStewEffects>
Builder for
SuspiciousStewEffects
.-
Method Summary
Modifier and TypeMethodDescriptionadd
(SuspiciousEffectEntry entry) Adds an effect applied to this builder.addAll
(Collection<SuspiciousEffectEntry> entries) Adds effects applied to this builder.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
add
@Contract(value="_ -> this", mutates="this") SuspiciousStewEffects.Builder add(SuspiciousEffectEntry entry) Adds an effect applied to this builder.- Parameters:
entry
- effect- Returns:
- the builder for chaining
- See Also:
-
addAll
@Contract(value="_ -> this", mutates="this") SuspiciousStewEffects.Builder addAll(Collection<SuspiciousEffectEntry> entries) Adds effects applied to this builder.- Parameters:
entries
- effect- Returns:
- the builder for chaining
- See Also:
-