Class BlocksAttacks.BlocksAttacksBuilder
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.BlocksAttacks.BlocksAttacksBuilder
- Enclosing class:
- BlocksAttacks
-
Method Summary
Modifier and TypeMethodDescription@NonNull BlocksAttacks.BlocksAttacksBuilderblockDelaySeconds(float blockDelaySeconds) @NonNull BlocksAttacks.BlocksAttacksBuilderblockSound(@Nullable Sound blockSound) @NonNull BlocksAttacksbuild()@NonNull BlocksAttacks.BlocksAttacksBuilderbypassedBy(@Nullable net.kyori.adventure.key.Key bypassedBy) @NonNull BlocksAttacks.BlocksAttacksBuilderdamageReductions(List<BlocksAttacks.DamageReduction> damageReductions) @NonNull BlocksAttacks.BlocksAttacksBuilderdisableCooldownScale(float disableCooldownScale) @NonNull BlocksAttacks.BlocksAttacksBuilderdisableSound(@Nullable Sound disableSound) @NonNull BlocksAttacks.BlocksAttacksBuilderitemDamage(BlocksAttacks.ItemDamageFunction itemDamage) @NonNull StringtoString()
-
Method Details
-
blockDelaySeconds
- Returns:
this.
-
disableCooldownScale
- Returns:
this.
-
damageReductions
public @NonNull BlocksAttacks.BlocksAttacksBuilder damageReductions(List<BlocksAttacks.DamageReduction> damageReductions) - Returns:
this.
-
itemDamage
public @NonNull BlocksAttacks.BlocksAttacksBuilder itemDamage(BlocksAttacks.ItemDamageFunction itemDamage) - Returns:
this.
-
bypassedBy
public @NonNull BlocksAttacks.BlocksAttacksBuilder bypassedBy(@Nullable @Nullable net.kyori.adventure.key.Key bypassedBy) - Returns:
this.
-
blockSound
- Returns:
this.
-
disableSound
public @NonNull BlocksAttacks.BlocksAttacksBuilder disableSound(@Nullable @Nullable Sound disableSound) - Returns:
this.
-
build
-
toString
-