Class BlocksAttacks.BlocksAttacksBuilder
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.BlocksAttacks.BlocksAttacksBuilder
- Enclosing class:
BlocksAttacks
-
Method Summary
Modifier and TypeMethodDescriptionblockDelaySeconds(float blockDelaySeconds) blockSound(@Nullable Sound blockSound) build()bypassedBy(@Nullable HolderSet bypassedBy) damageReductions(List<BlocksAttacks.DamageReduction> damageReductions) disableCooldownScale(float disableCooldownScale) disableSound(@Nullable Sound disableSound) itemDamage(BlocksAttacks.ItemDamageFunction itemDamage) toString()
-
Method Details
-
blockDelaySeconds
- Returns:
this.
-
disableCooldownScale
- Returns:
this.
-
damageReductions
public BlocksAttacks.BlocksAttacksBuilder damageReductions(List<BlocksAttacks.DamageReduction> damageReductions) - Returns:
this.
-
itemDamage
- Returns:
this.
-
bypassedBy
- Returns:
this.
-
blockSound
- Returns:
this.
-
disableSound
- Returns:
this.
-
build
-
toString
-