public BallModifiers
Created by Shynixn 2017.
Version 1.1
MIT License
Copyright (c) 2017 by Shynixn
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Modifier and Type | Method and Description |
|---|---|
double |
getBounceModifier()
Returns the bounce modifier how fast a ball bounces of any block if he has got always-bounce enabled.
|
double |
getGravityModifier()
Returns the gravity modifier how fast a ball falls to the ground after being kicked or thrown in to the sky.
|
double |
getHorizontalKickStrengthModifier()
Returns the modifier value for the horizontal velocity a player kicks the ball.
|
double |
getHorizontalThrowStrengthModifier()
Returns the modifier value for the horizontal velocity a player throws the ball.
|
double |
getHorizontalTouchModifier()
Returns the modifier value for the horizontal velocity a player touches the ball.
|
double |
getRollingDistanceModifier()
Returns the rolling distance modifier.
|
double |
getVerticalKickStrengthModifier()
Returns the modifier value for the vertical velocity a player kicks the ball.
|
double |
getVerticalThrowStrengthModifier()
Returns the modifier value for the vertical velocity a player throws the ball.
|
double |
getVerticalTouchModifier()
Returns the modifier value for the vertical velocity a player touches the ball.
|
void |
setBounceModifier()
Sets the bounce modifier how fast a ball bounces of any block if he has got always-bounce enabled.
|
BallModifiers |
setGravityModifier()
Sets the gravity modifier how fast a ball falls to the ground after being kicked or thrown in to the sky.
|
BallModifiers |
setHorizontalKickStrengthModifier()
Sets the modifier value for the horizontal velocity a player kicks the ball.
|
BallModifiers |
setHorizontalThrowStrengthModifier()
Sets the modifier value for the horizontal velocity a player throws the ball.
|
BallModifiers |
setHorizontalTouchModifier()
Sets the modifier value for the horizontal velocity a player touches the ball.
|
BallModifiers |
setRollingDistanceModifier()
Sets the rolling distance modifier
|
BallModifiers |
setVerticalKickStrengthModifier()
Sets the modifier value for the vertical velocity a player kicksthe ball.
|
BallModifiers |
setVerticalThrowStrengthModifier()
Sets the modifier value for the vertical velocity a player throws the ball.
|
BallModifiers |
setVerticalTouchModifier()
Sets the modifier value for the vertical velocity a player touches the ball.
|
double getBounceModifier()
Returns the bounce modifier how fast a ball bounces of any block if he has got always-bounce enabled.
void setBounceModifier()
Sets the bounce modifier how fast a ball bounces of any block if he has got always-bounce enabled.
double getGravityModifier()
Returns the gravity modifier how fast a ball falls to the ground after being kicked or thrown in to the sky.
BallModifiers setGravityModifier()
Sets the gravity modifier how fast a ball falls to the ground after being kicked or thrown in to the sky.
double getRollingDistanceModifier()
Returns the rolling distance modifier.
BallModifiers setRollingDistanceModifier()
Sets the rolling distance modifier
double getHorizontalTouchModifier()
Returns the modifier value for the horizontal velocity a player touches the ball.
BallModifiers setHorizontalTouchModifier()
Sets the modifier value for the horizontal velocity a player touches the ball.
double getVerticalTouchModifier()
Returns the modifier value for the vertical velocity a player touches the ball.
BallModifiers setVerticalTouchModifier()
Sets the modifier value for the vertical velocity a player touches the ball.
double getHorizontalKickStrengthModifier()
Returns the modifier value for the horizontal velocity a player kicks the ball.
BallModifiers setHorizontalKickStrengthModifier()
Sets the modifier value for the horizontal velocity a player kicks the ball.
double getVerticalKickStrengthModifier()
Returns the modifier value for the vertical velocity a player kicks the ball.
BallModifiers setVerticalKickStrengthModifier()
Sets the modifier value for the vertical velocity a player kicksthe ball.
double getHorizontalThrowStrengthModifier()
Returns the modifier value for the horizontal velocity a player throws the ball.
BallModifiers setHorizontalThrowStrengthModifier()
Sets the modifier value for the horizontal velocity a player throws the ball.
double getVerticalThrowStrengthModifier()
Returns the modifier value for the vertical velocity a player throws the ball.
BallModifiers setVerticalThrowStrengthModifier()
Sets the modifier value for the vertical velocity a player throws the ball.