Interface JavaKineticWeapon.Condition.Builder
- All Superinterfaces:
GenericBuilder<JavaKineticWeapon.Condition>
- Enclosing interface:
- JavaKineticWeapon.Condition
public static interface JavaKineticWeapon.Condition.Builder
extends GenericBuilder<JavaKineticWeapon.Condition>
Builder for a
JavaKineticWeapon.Condition.- Since:
- 2.9.3
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates theJavaKineticWeapon.Condition.minRelativeSpeed(float minRelativeSpeed) Sets the minimum relative speed between the attacker and the target, in blocks per second.minSpeed(float minSpeed) Sets the minimum speed of the attacker, in blocks per second.
-
Method Details
-
minSpeed
Sets the minimum speed of the attacker, in blocks per second.- Parameters:
minSpeed- the minimum speed of the attacker, in blocks per second- Returns:
- this builder
- Since:
- 2.9.3
- See Also:
-
minRelativeSpeed
Sets the minimum relative speed between the attacker and the target, in blocks per second.- Parameters:
minRelativeSpeed- the minimum relative speed between the attacker and the target, in blocks per second- Returns:
- this builder
- Since:
- 2.9.3
- See Also:
-
build
JavaKineticWeapon.Condition build()Creates theJavaKineticWeapon.Condition.- Specified by:
buildin interfaceGenericBuilder<JavaKineticWeapon.Condition>- Returns:
- the new
JavaKineticWeapon.Condition - Since:
- 2.9.3
-