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 TypeMethodDescriptionaddDamageReduction(DamageReduction reduction) blockDelaySeconds(float delay) blockSound(@Nullable Key sound) bypassedBy(@Nullable TagKey<DamageType> bypassedBy) damageReductions(List<DamageReduction> reductions) disableCooldownScale(float scale) disableSound(@Nullable Key sound) itemDamage(ItemDamageFunction function) Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
blockDelaySeconds
-
disableCooldownScale
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder disableCooldownScale(float scale) -
addDamageReduction
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder addDamageReduction(DamageReduction reduction) -
damageReductions
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder damageReductions(List<DamageReduction> reductions) -
itemDamage
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder itemDamage(ItemDamageFunction function) -
bypassedBy
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder bypassedBy(@Nullable TagKey<DamageType> bypassedBy) -
blockSound
-
disableSound
-