Interface DamageReduction.Builder
- All Superinterfaces:
DataComponentBuilder<DamageReduction>
- Enclosing interface:
DamageReduction
@Experimental
@NonExtendable
public static interface DamageReduction.Builder
extends DataComponentBuilder<DamageReduction>
Builder for
DamageReduction
.-
Method Summary
Modifier and TypeMethodDescriptionbase
(float base) factor
(float factor) horizontalBlockingAngle
(@org.checkerframework.checker.index.qual.Positive float horizontalBlockingAngle) type
(RegistryKeySet<DamageType> type) Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
type
@Contract(value="_ -> this", mutates="this") DamageReduction.Builder type(RegistryKeySet<DamageType> type) -
horizontalBlockingAngle
@Contract(value="_ -> this", mutates="this") DamageReduction.Builder horizontalBlockingAngle(@org.checkerframework.checker.index.qual.Positive float horizontalBlockingAngle) -
base
-
factor
-