BuilderMotionControllerDive

public class BuilderMotionControllerDive extends BuilderMotionControllerBase

Class BuilderMotionControllerDive. Provides buildermotioncontrollerdive functionality for the Hytale server.

java.lang.Object > BuilderMotionControllerBase > BuilderMotionControllerDive

Field Summary

minHorizontalSpeed

private double minHorizontalSpeed

Field minHorizontalSpeed.

maxVerticalSpeed

private double maxVerticalSpeed

Field maxVerticalSpeed.

acceleration

private double acceleration

Field acceleration.

gravity

private double gravity

Field gravity.

maxFallSpeed

private double maxFallSpeed

Field maxFallSpeed.

maxSinkSpeed

private double maxSinkSpeed

Field maxSinkSpeed.

maxRotationSpeed

private double maxRotationSpeed

Field maxRotationSpeed.

maxMoveTurnAngle

private float maxMoveTurnAngle

Field maxMoveTurnAngle.

minDiveDepth

private double minDiveDepth

Field minDiveDepth.

maxDiveDepth

private double maxDiveDepth

Field maxDiveDepth.

minWaterDepth

private double minWaterDepth

Field minWaterDepth.

maxWaterDepth

private double maxWaterDepth

Field maxWaterDepth.

minDepthAboveGround

private double minDepthAboveGround

Field minDepthAboveGround.

minDepthBelowSurface

private double minDepthBelowSurface

Field minDepthBelowSurface.

swimDepth

private double swimDepth

Field swimDepth.

sinkRatio

private double sinkRatio

Field sinkRatio.

fastDiveThreshold

private double fastDiveThreshold

Field fastDiveThreshold.

desiredDepthWeight

private double desiredDepthWeight

Field desiredDepthWeight.

model

final Model model

Field model.

Method Detail

getShortDescription

public String getShortDescription ()

Method getShortDescription.

getLongDescription

public String getLongDescription ()

Method getLongDescription.

getBuilderDescriptorState

public BuilderDescriptorState getBuilderDescriptorState ()

Method getBuilderDescriptorState.

build

public MotionControllerDive build (@Nonnull final BuilderSupport builderSupport)

Method build.

Parameters:
@Nonnull final BuilderSupport builderSupport

readConfig

public BuilderMotionControllerDive readConfig (@Nonnull final JsonElement data)

Method readConfig.

Parameters:
@Nonnull final JsonElement data

category

public Class category ()

Method category.

getMinHorizontalSpeed

public double getMinHorizontalSpeed ()

Method getMinHorizontalSpeed.

getAcceleration

public double getAcceleration ()

Method getAcceleration.

getMaxVerticalSpeed

public double getMaxVerticalSpeed ()

Method getMaxVerticalSpeed.

getGravity

public double getGravity ()

Method getGravity.

getMaxFallSpeed

public double getMaxFallSpeed ()

Method getMaxFallSpeed.

getMaxSinkSpeed

public double getMaxSinkSpeed ()

Method getMaxSinkSpeed.

getMaxMoveTurnAngle

public float getMaxMoveTurnAngle ()

Method getMaxMoveTurnAngle.

getMaxRotationSpeed

public double getMaxRotationSpeed ()

Method getMaxRotationSpeed.

getMinDiveDepth

public double getMinDiveDepth ()

Method getMinDiveDepth.

getMaxDiveDepth

public double getMaxDiveDepth ()

Method getMaxDiveDepth.

getMinWaterDepth

public double getMinWaterDepth ()

Method getMinWaterDepth.

getMaxWaterDepth

public double getMaxWaterDepth ()

Method getMaxWaterDepth.

getMinDepthAboveGround

public double getMinDepthAboveGround ()

Method getMinDepthAboveGround.

getMinDepthBelowSurface

public double getMinDepthBelowSurface ()

Method getMinDepthBelowSurface.

getSwimDepth

public double getSwimDepth ()

Method getSwimDepth.

getSinkRatio

public double getSinkRatio ()

Method getSinkRatio.

getFastDiveThreshold

public double getFastDiveThreshold ()

Method getFastDiveThreshold.

getDesiredDepthWeight

public double getDesiredDepthWeight ()

Method getDesiredDepthWeight.

canSpawn

Method canSpawn.

Parameters:
@Nonnull final SpawningContext context

getClassType

public MotionController> getClassType ()

Method getClassType.