Interface DeathProtection.Builder
- All Superinterfaces:
- DataComponentBuilder<DeathProtection>
- Enclosing interface:
- DeathProtection
@Experimental
@NonExtendable
public static interface DeathProtection.Builder
extends DataComponentBuilder<DeathProtection>
Builder for 
DeathProtection.- 
Method SummaryModifier and TypeMethodDescriptionaddEffect(ConsumeEffect effect) addEffects(List<ConsumeEffect> effects) Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilderbuild
- 
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) 
 
-