Interface BlocksAttacks.Builder
- All Superinterfaces:
DataComponentBuilder<BlocksAttacks>
- Enclosing interface:
BlocksAttacks
@Experimental
@NonExtendable
public static interface BlocksAttacks.Builder
extends DataComponentBuilder<BlocksAttacks>
Builder for
BlocksAttacks
.-
Method Summary
Modifier and TypeMethodDescriptionblockDelaySeconds
(float delay) blockSound
(@Nullable Key sound) bypassedBy
(@Nullable TagKey<DamageType> bypassedBy) disableCooldownScale
(float scale) disableSound
(@Nullable Key sound) Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
blockDelaySeconds
-
disableCooldownScale
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder disableCooldownScale(float scale) -
bypassedBy
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder bypassedBy(@Nullable TagKey<DamageType> bypassedBy) -
blockSound
-
disableSound
-