java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.parameters.flying.FlyingParameters

public class FlyingParameters extends Object
Parameters that affect a Pokémon's flying movement.
  • 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 height
      heightMax - The maximum flying height
      speedMod - The speed modifier
      rateY - The rate of Y change
      rateXZ - The rate of X/Z change
      rateSpeed - The rate of speed change
      flightTimeMin - The minimum time of flight
      flightTimeMax - The maximum time of flight
      flapRate - The rate at which wings flap
      landingMaterials - 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

      public LandingMaterials getLandingMaterials()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object