Interface JavaKineticWeapon.Builder
- All Superinterfaces:
GenericBuilder<JavaKineticWeapon>
- Enclosing interface:
- JavaKineticWeapon
Builder for the kinetic weapon component.
- Since:
- 2.9.3
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates the kinetic weapon component.delayTicks(@org.checkerframework.checker.index.qual.NonNegative int delayTicks) Sets the minimum use time, in ticks, required for the weapon to be active.default JavaKineticWeapon.BuilderdismountConditions(@NonNull JavaKineticWeapon.Condition.Builder dismountConditions) Shorthand fordismountConditions(Condition).dismountConditions(@Nullable JavaKineticWeapon.Condition dismountConditions) Sets the condition to dismount the target.
-
Method Details
-
delayTicks
JavaKineticWeapon.Builder delayTicks(@org.checkerframework.checker.index.qual.NonNegative int delayTicks) Sets the minimum use time, in ticks, required for the weapon to be active.- Parameters:
delayTicks- the minimum use time, in ticks, required for the weapon to be active- Returns:
- this builder
- Since:
- 2.9.3
- See Also:
-
dismountConditions
default JavaKineticWeapon.Builder dismountConditions(@NonNull JavaKineticWeapon.Condition.Builder dismountConditions) Shorthand fordismountConditions(Condition).- Since:
- 2.9.3
-
dismountConditions
JavaKineticWeapon.Builder dismountConditions(@Nullable JavaKineticWeapon.Condition dismountConditions) Sets the condition to dismount the target.- Parameters:
dismountConditions- the condition to dismount the target- Returns:
- this builder
- Since:
- 2.9.3
- See Also:
-
build
JavaKineticWeapon build()Creates the kinetic weapon component.- Specified by:
buildin interfaceGenericBuilder<JavaKineticWeapon>- Returns:
- the new component
- Since:
- 2.9.3
-