Class FlyingParameters
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.parameters.flying.FlyingParameters
Parameters that affect a Pokémon's flying movement.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor containing default valuesFlyingParameters(int heightMin, int heightMax, float speedMod, int rateY, int rateXZ, int rateSpeed, int flightTimeMin, int flightTimeMax, int flapRate, LandingMaterials landingMaterials) Constructor containing all modifiable values -
Method Summary
-
Constructor Details
-
FlyingParameters
public FlyingParameters(int heightMin, int heightMax, float speedMod, int rateY, int rateXZ, int rateSpeed, int flightTimeMin, int flightTimeMax, int flapRate, LandingMaterials landingMaterials) Constructor containing all modifiable values- Parameters:
heightMin- The minimum flying heightheightMax- The maximum flying heightspeedMod- The speed modifierrateY- The rate of Y changerateXZ- The rate of X/Z changerateSpeed- The rate of speed changeflightTimeMin- The minimum time of flightflightTimeMax- The maximum time of flightflapRate- The rate at which wings flaplandingMaterials- Material types they can land on
-
FlyingParameters
public FlyingParameters()Constructor containing default values
-
-
Method Details
-
getFlyHeightMin
public int getFlyHeightMin() -
getFlyHeightMax
public int getFlyHeightMax() -
getFlySpeedModifier
public float getFlySpeedModifier() -
getFlyRefreshRateY
public int getFlyRefreshRateY() -
getFlyRefreshRateXZ
public int getFlyRefreshRateXZ() -
getFlyRefreshRateSpeed
public int getFlyRefreshRateSpeed() -
getFlightTimeMin
public int getFlightTimeMin() -
getFlightTimeMax
public int getFlightTimeMax() -
getFlapRate
public int getFlapRate() -
getLandingMaterials
-
equals
-
hashCode
public int hashCode()
-