Interface JavaUseEffects.Builder
- All Superinterfaces:
GenericBuilder<JavaUseEffects>
- Enclosing interface:
- JavaUseEffects
Builder for the use effects component.
- Since:
- 2.9.3
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates the use effects component.speedMultiplier(@org.checkerframework.common.value.qual.IntRange(from=0L, to=1L) float speedMultiplier) Sets the speed multiplier to apply while using the item.
-
Method Details
-
speedMultiplier
JavaUseEffects.Builder speedMultiplier(@org.checkerframework.common.value.qual.IntRange(from=0L, to=1L) float speedMultiplier) Sets the speed multiplier to apply while using the item.- Parameters:
speedMultiplier- the speed multiplier to apply while using the item- Returns:
- this builder
- Since:
- 2.9.3
-
build
JavaUseEffects build()Creates the use effects component.- Specified by:
buildin interfaceGenericBuilder<JavaUseEffects>- Returns:
- the new component
- Since:
- 2.9.3
-