BuilderMotionControllerWalk

public class BuilderMotionControllerWalk extends BuilderMotionControllerBase

Class BuilderMotionControllerWalk. Provides buildermotioncontrollerwalk functionality for the Hytale server.

java.lang.Object > BuilderMotionControllerBase > BuilderMotionControllerWalk

Field Summary

minHorizontalSpeed

private double minHorizontalSpeed

Field minHorizontalSpeed.

maxVerticalSpeed

private double maxVerticalSpeed

Field maxVerticalSpeed.

gravity

private double gravity

Field gravity.

climbSpeedMult

private double climbSpeedMult

Field climbSpeedMult.

climbSpeedPow

private double climbSpeedPow

Field climbSpeedPow.

climbSpeedConst

private double climbSpeedConst

Field climbSpeedConst.

maxVerticalSpeedFluid

private double maxVerticalSpeedFluid

Field maxVerticalSpeedFluid.

minHover

private double minHover

Field minHover.

maxHover

private double maxHover

Field maxHover.

minHoverClimb

private double minHoverClimb

Field minHoverClimb.

minHoverDrop

private double minHoverDrop

Field minHoverDrop.

floatsDown

private boolean floatsDown

Field floatsDown.

hoverFreq

private float hoverFreq

Field hoverFreq.

maxWalkSpeedAfterHitMultiplier

private double maxWalkSpeedAfterHitMultiplier

Field maxWalkSpeedAfterHitMultiplier.

fenceBlockSet

private String fenceBlockSet

Field fenceBlockSet.

descentAnimationType

private MotionControllerWalk.DescentAnimationType descentAnimationType

Field descentAnimationType.

ascentAnimationType

private MotionControllerWalk.AscentAnimationType ascentAnimationType

Field ascentAnimationType.

index

final int index

Field index.

Method Detail

BuilderMotionControllerWalk

public public BuilderMotionControllerWalk ()

Method BuilderMotionControllerWalk.

build

public MotionControllerWalk 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 BuilderMotionControllerWalk readConfig (@Nonnull final JsonElement data)

Method readConfig.

Parameters:
@Nonnull final JsonElement data

multiplier

public speed multiplier (const + multiplier * walkspeed ** power)

Method multiplier.

Parameters:
const + multiplier * walkspeed ** power

power

public speed power (const + multiplier * walkspeed ** power)

Method power.

Parameters:
const + multiplier * walkspeed ** power

constant

public speed constant (const + multiplier * walkspeed ** power)

Method constant.

Parameters:
const + multiplier * walkspeed ** power

category

public Class category ()

Method category.

getMinHorizontalSpeed

public double getMinHorizontalSpeed ()

Method getMinHorizontalSpeed.

getAcceleration

public double getAcceleration (@Nonnull final BuilderSupport builderSupport)

Method getAcceleration.

Parameters:
@Nonnull final BuilderSupport builderSupport

getMaxVerticalSpeed

public double getMaxVerticalSpeed ()

Method getMaxVerticalSpeed.

getMaxVerticalSpeedFluid

public double getMaxVerticalSpeedFluid ()

Method getMaxVerticalSpeedFluid.

getGravity

public double getGravity ()

Method getGravity.

getMaxMoveTurnAngle

public float getMaxMoveTurnAngle (@Nonnull final BuilderSupport builderSupport)

Method getMaxMoveTurnAngle.

Parameters:
@Nonnull final BuilderSupport builderSupport

getMaxRotationSpeed

public double getMaxRotationSpeed (@Nonnull final BuilderSupport builderSupport)

Method getMaxRotationSpeed.

Parameters:
@Nonnull final BuilderSupport builderSupport

getBlendRestTurnAngle

public float getBlendRestTurnAngle (@Nonnull final BuilderSupport builderSupport)

Method getBlendRestTurnAngle.

Parameters:
@Nonnull final BuilderSupport builderSupport

getBlendRestRelativeSpeed

public double getBlendRestRelativeSpeed (@Nonnull final BuilderSupport builderSupport)

Method getBlendRestRelativeSpeed.

Parameters:
@Nonnull final BuilderSupport builderSupport

getMaxClimbHeight

public double getMaxClimbHeight (@Nonnull final BuilderSupport support)

Method getMaxClimbHeight.

Parameters:
@Nonnull final BuilderSupport support

getClimbSpeedMult

public double getClimbSpeedMult ()

Method getClimbSpeedMult.

getClimbSpeedPow

public double getClimbSpeedPow ()

Method getClimbSpeedPow.

getClimbSpeedConst

public double getClimbSpeedConst ()

Method getClimbSpeedConst.

getDescendForwardAmount

public double getDescendForwardAmount (@Nonnull final BuilderSupport builderSupport)

Method getDescendForwardAmount.

Parameters:
@Nonnull final BuilderSupport builderSupport

getDescendSpeedCompensation

public double getDescendSpeedCompensation (@Nonnull final BuilderSupport builderSupport)

Method getDescendSpeedCompensation.

Parameters:
@Nonnull final BuilderSupport builderSupport

getMaxDropHeight

public double getMaxDropHeight (@Nonnull final BuilderSupport support)

Method getMaxDropHeight.

Parameters:
@Nonnull final BuilderSupport support

getFenceBlockSet

public int getFenceBlockSet ()

Method getFenceBlockSet.

getMinHover

public double getMinHover ()

Method getMinHover.

getMaxHover

public double getMaxHover ()

Method getMaxHover.

getHoverFreq

public float getHoverFreq ()

Method getHoverFreq.

getMinHoverClimb

public double getMinHoverClimb ()

Method getMinHoverClimb.

getMinHoverDrop

public double getMinHoverDrop ()

Method getMinHoverDrop.

isFloatsDown

public boolean isFloatsDown ()

Method isFloatsDown.

getMaxWalkSpeedAfterHitMultiplier

public double getMaxWalkSpeedAfterHitMultiplier ()

Method getMaxWalkSpeedAfterHitMultiplier.

getJumpHeight

public double getJumpHeight (@Nonnull final BuilderSupport support)

Method getJumpHeight.

Parameters:
@Nonnull final BuilderSupport support

getMinJumpHeight

public double getMinJumpHeight (@Nonnull final BuilderSupport support)

Method getMinJumpHeight.

Parameters:
@Nonnull final BuilderSupport support

getMinJumpDistance

public double getMinJumpDistance (@Nonnull final BuilderSupport support)

Method getMinJumpDistance.

Parameters:
@Nonnull final BuilderSupport support

getJumpForce

public double getJumpForce (@Nonnull final BuilderSupport support)

Method getJumpForce.

Parameters:
@Nonnull final BuilderSupport support

getJumpDescentSteepness

public double getJumpDescentSteepness (@Nonnull final BuilderSupport support)

Method getJumpDescentSteepness.

Parameters:
@Nonnull final BuilderSupport support

getJumpBlending

public double getJumpBlending (@Nonnull final BuilderSupport support)

Method getJumpBlending.

Parameters:
@Nonnull final BuilderSupport support

getJumpDescentBlending

public double getJumpDescentBlending (@Nonnull final BuilderSupport support)

Method getJumpDescentBlending.

Parameters:
@Nonnull final BuilderSupport support

getDescentAnimationType

public MotionControllerWalk.DescentAnimationType getDescentAnimationType ()

Method getDescentAnimationType.

getAscentAnimationType

public MotionControllerWalk.AscentAnimationType getAscentAnimationType ()

Method getAscentAnimationType.

getDescentSteepness

public double getDescentSteepness (@Nonnull final BuilderSupport support)

Method getDescentSteepness.

Parameters:
@Nonnull final BuilderSupport support

getDescentBlending

public double getDescentBlending (@Nonnull final BuilderSupport support)

Method getDescentBlending.

Parameters:
@Nonnull final BuilderSupport support

getMinDescentAnimationHeight

public double getMinDescentAnimationHeight (@Nonnull final BuilderSupport support)

Method getMinDescentAnimationHeight.

Parameters:
@Nonnull final BuilderSupport support

getJumpRange

public double[] getJumpRange (@Nonnull final BuilderSupport support)

Method getJumpRange.

Parameters:
@Nonnull final BuilderSupport support

canSpawn

Method canSpawn.

Parameters:
@Nonnull final SpawningContext context

getClassType

public MotionController> getClassType ()

Method getClassType.