java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.parameters.mounted.MountedFlyingParameters
All Implemented Interfaces:
ControlledMovementLogic

public class MountedFlyingParameters extends Object implements ControlledMovementLogic
Represents the parameters for an entities' mounted flying movement & AI & animation
  • Field Details

  • Constructor Details

    • MountedFlyingParameters

      public MountedFlyingParameters(float upperAngleLimit, float lowerAngleLimit, float maxFlySpeed, float decelerationRate, float hoverDecelerationRate, float accelerationRate, float strafeAccelerationRate, float strafeRollConversion, float turnRate, float pitchRate, boolean staysHorizontalFlying, float gravityDropPerTick, boolean continuousForwardMotion, int continuousForwardMotionTicks, int flyingStaminaCharges, int hoverTicks)
      Constructor providing all the modifiable values
      Parameters:
      upperAngleLimit - The upper angle limit
      lowerAngleLimit - The lower angle limit
      maxFlySpeed - The maximum speed for flight
      decelerationRate - The rate of deceleration
      hoverDecelerationRate - The deceleration rate when hovering
      accelerationRate - The rate of acceleration
      strafeAccelerationRate - The rate of acceleration when strafing
      strafeRollConversion - The conversion rate for strafing and rolling
      turnRate - The turn rate
      pitchRate - The pitch rate
      staysHorizontalFlying - If the flying is only horizontal
      gravityDropPerTick - The amount per tick the pokemon drops naturally when flying
      continuousForwardMotion - If the pokemon's forward motion cannot be stopped once flying
      continuousForwardMotionTicks - How many ticks between occurances of forward motion
      flyingStaminaCharges - The amount of times you can 'takeoff' or 'boost' into the air
      hoverTicks - The amount of ticks you can hover for (Resets on stamina charge use)
    • MountedFlyingParameters

      public MountedFlyingParameters()
  • Method Details