Interface DeathProtection.Builder
- All Superinterfaces:
DataComponentBuilder<DeathProtection>
- Enclosing interface:
DeathProtection
@Experimental
@NonExtendable
public static interface DeathProtection.Builder
extends DataComponentBuilder<DeathProtection>
Builder for
DeathProtection
.-
Method Summary
Modifier and TypeMethodDescriptionaddEffect
(ConsumeEffect effect) addEffects
(List<ConsumeEffect> effects) Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
addEffect
@Contract(value="_ -> this", mutates="this") DeathProtection.Builder addEffect(ConsumeEffect effect) -
addEffects
@Contract(value="_ -> this", mutates="this") DeathProtection.Builder addEffects(List<ConsumeEffect> effects)
-