Interface GeyserThrowableComponent.Builder
- All Superinterfaces:
GenericBuilder<GeyserThrowableComponent>
- Enclosing interface:
GeyserThrowableComponent
public static interface GeyserThrowableComponent.Builder
extends GenericBuilder<GeyserThrowableComponent>
Builder for the throwable component.
- Since:
- 2.9.3
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates the throwable component.doSwingAnimation(boolean doSwingAnimation) Sets whether bedrock clients should display a swing animation when throwing the item.
-
Method Details
-
doSwingAnimation
Sets whether bedrock clients should display a swing animation when throwing the item.- Parameters:
doSwingAnimation- whether bedrock clients should display a swing animation when throwing the item- Returns:
- this builder
- Since:
- 2.9.3
- See Also:
-
build
GeyserThrowableComponent build()Creates the throwable component.- Specified by:
buildin interfaceGenericBuilder<GeyserThrowableComponent>- Returns:
- the new component
- Since:
- 2.9.3
-