Interface BlocksAttacks.Builder
- All Superinterfaces:
DataComponentBuilder<BlocksAttacks>
- Enclosing interface:
BlocksAttacks
@Experimental
@NonExtendable
public static interface BlocksAttacks.Builder
extends DataComponentBuilder<BlocksAttacks>
Builder for
BlocksAttacks.- Since:
- 1.21.6
-
Method Summary
Modifier and TypeMethodDescriptionaddDamageReduction(DamageReduction reduction) blockDelaySeconds(@NonNegative float delay) blockSound(@Nullable Key sound) bypassedBy(@Nullable RegistryKeySet<DamageType> bypassedBy) damageReductions(List<DamageReduction> reductions) disableCooldownScale(@NonNegative float scale) disableSound(@Nullable Key sound) itemDamage(ItemDamageFunction function) Methods inherited from interface DataComponentBuilder
build
-
Method Details
-
blockDelaySeconds
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder blockDelaySeconds(@NonNegative float delay) - Since:
- 1.21.6
-
disableCooldownScale
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder disableCooldownScale(@NonNegative float scale) - Since:
- 1.21.6
-
addDamageReduction
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder addDamageReduction(DamageReduction reduction) - Since:
- 1.21.6
-
damageReductions
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder damageReductions(List<DamageReduction> reductions) - Since:
- 1.21.6
-
itemDamage
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder itemDamage(ItemDamageFunction function) - Since:
- 1.21.6
-
bypassedBy
@Contract(value="_ -> this", mutates="this") BlocksAttacks.Builder bypassedBy(@Nullable RegistryKeySet<DamageType> bypassedBy) - Since:
- 26.1.2
-
blockSound
-
disableSound
-