BuilderMotionControllerFly

public class BuilderMotionControllerFly extends BuilderMotionControllerBase

Class BuilderMotionControllerFly. Provides buildermotioncontrollerfly functionality for the Hytale server.

java.lang.Object > BuilderMotionControllerBase > BuilderMotionControllerFly

Field Summary

minAirSpeed

private double minAirSpeed

Field minAirSpeed.

maxClimbSpeed

private double maxClimbSpeed

Field maxClimbSpeed.

maxSinkSpeed

private double maxSinkSpeed

Field maxSinkSpeed.

maxSinkSpeedFluid

private double maxSinkSpeedFluid

Field maxSinkSpeedFluid.

maxFallSpeed

private double maxFallSpeed

Field maxFallSpeed.

maxClimbAngle

private float maxClimbAngle

Field maxClimbAngle.

maxSinkAngle

private float maxSinkAngle

Field maxSinkAngle.

acceleration

private double acceleration

Field acceleration.

deceleration

private double deceleration

Field deceleration.

gravity

private double gravity

Field gravity.

maxTurnSpeed

private float maxTurnSpeed

Field maxTurnSpeed.

maxRollAngle

private float maxRollAngle

Field maxRollAngle.

maxRollSpeed

private float maxRollSpeed

Field maxRollSpeed.

rollDamping

private float rollDamping

Field rollDamping.

fastFlyThreshold

private double fastFlyThreshold

Field fastFlyThreshold.

autoLevel

private boolean autoLevel

Field autoLevel.

desiredAltitudeWeight

private double desiredAltitudeWeight

Field desiredAltitudeWeight.

Method Detail

BuilderMotionControllerFly

public public BuilderMotionControllerFly ()

Method BuilderMotionControllerFly.

build

public MotionControllerFly build (@Nonnull final BuilderSupport builderSupport)

Method build.

Parameters:
@Nonnull final BuilderSupport builderSupport

getShortDescription

public String getShortDescription ()

Method getShortDescription.

getLongDescription

public String getLongDescription ()

Method getLongDescription.

getBuilderDescriptorState

public BuilderDescriptorState getBuilderDescriptorState ()

Method getBuilderDescriptorState.

readConfig

public BuilderMotionControllerFly readConfig (@Nonnull final JsonElement data)

Method readConfig.

Parameters:
@Nonnull final JsonElement data

getMinAirSpeed

public double getMinAirSpeed ()

Method getMinAirSpeed.

getMaxClimbSpeed

public double getMaxClimbSpeed ()

Method getMaxClimbSpeed.

getMaxSinkSpeed

public double getMaxSinkSpeed ()

Method getMaxSinkSpeed.

getMaxFallSpeed

public double getMaxFallSpeed ()

Method getMaxFallSpeed.

getMaxSinkSpeedFluid

public double getMaxSinkSpeedFluid ()

Method getMaxSinkSpeedFluid.

getMaxClimbAngle

public float getMaxClimbAngle ()

Method getMaxClimbAngle.

getMaxSinkAngle

public float getMaxSinkAngle ()

Method getMaxSinkAngle.

getAcceleration

public double getAcceleration ()

Method getAcceleration.

getDeceleration

public double getDeceleration ()

Method getDeceleration.

getGravity

public double getGravity ()

Method getGravity.

getMaxTurnSpeed

public float getMaxTurnSpeed ()

Method getMaxTurnSpeed.

getMaxRollAngle

public float getMaxRollAngle ()

Method getMaxRollAngle.

getMaxRollSpeed

public float getMaxRollSpeed ()

Method getMaxRollSpeed.

getRollDamping

public float getRollDamping ()

Method getRollDamping.

getMinHeightOverGround

public double getMinHeightOverGround (final BuilderSupport support)

Method getMinHeightOverGround.

Parameters:
final BuilderSupport support

getMaxHeightOverGround

public double getMaxHeightOverGround (final BuilderSupport support)

Method getMaxHeightOverGround.

Parameters:
final BuilderSupport support

getFastFlyThreshold

public double getFastFlyThreshold ()

Method getFastFlyThreshold.

isAutoLevel

public boolean isAutoLevel ()

Method isAutoLevel.

getDesiredAltitudeWeight

public double getDesiredAltitudeWeight ()

Method getDesiredAltitudeWeight.

category

public Class category ()

Method category.

getType

public String getType ()

Method getType.

canSpawn

Method canSpawn.

Parameters:
@Nonnull final SpawningContext context

getClassType

public MotionController> getClassType ()

Method getClassType.