Interface Weapon.Builder
- All Superinterfaces:
- DataComponentBuilder<Weapon>
- Enclosing interface:
- Weapon
@Experimental
@NonExtendable
public static interface Weapon.Builder
extends DataComponentBuilder<Weapon>
Builder for 
Weapon.- 
Method SummaryModifier and TypeMethodDescriptiondisableBlockingForSeconds(float seconds) Sets the disable blocking duration (in seconds).itemDamagePerAttack(int damage) Sets the damage per attack.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilderbuild
- 
Method Details- 
itemDamagePerAttackSets the damage per attack.- Parameters:
- damage- the damage value.
- Returns:
- the builder for chaining.
 
- 
disableBlockingForSecondsSets the disable blocking duration (in seconds).- Parameters:
- seconds- the duration in seconds.
- Returns:
- the builder for chaining.
 
 
-