Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- NULLABLE_BIT_FIELD_SIZE
- FIXED_BLOCK_SIZE
- VARIABLE_FIELD_COUNT
- VARIABLE_BLOCK_START
- MAX_SIZE
- mass
- dragCoefficient
- invertedGravity
- velocityResistance
- jumpForce
- swimJumpForce
- jumpBufferDuration
- jumpBufferMaxYVelocity
- acceleration
- airDragMin
- airDragMax
- airDragMinSpeed
- airDragMaxSpeed
- airFrictionMin
- airFrictionMax
- airFrictionMinSpeed
- airFrictionMaxSpeed
- airSpeedMultiplier
- airControlMinSpeed
- airControlMaxSpeed
- airControlMinMultiplier
- airControlMaxMultiplier
- comboAirSpeedMultiplier
- baseSpeed
- climbSpeed
- climbSpeedLateral
- climbUpSprintSpeed
- climbDownSprintSpeed
- horizontalFlySpeed
- verticalFlySpeed
- maxSpeedMultiplier
- minSpeedMultiplier
- wishDirectionGravityX
- wishDirectionGravityY
- wishDirectionWeightX
- wishDirectionWeightY
- fly
- collisionExpulsionForce
- forwardWalkSpeedMultiplier
- backwardWalkSpeedMultiplier
- strafeWalkSpeedMultiplier
- forwardRunSpeedMultiplier
- backwardRunSpeedMultiplier
- strafeRunSpeedMultiplier
- forwardCrouchSpeedMultiplier
- backwardCrouchSpeedMultiplier
- strafeCrouchSpeedMultiplier
- forwardSprintSpeedMultiplier
- variableJumpFallForce
- fallEffectDuration
- fallJumpForce
- fallMomentumLoss
- autoJumpObstacleSpeedLoss
- autoJumpObstacleSprintSpeedLoss
- autoJumpObstacleEffectDuration
- autoJumpObstacleSprintEffectDuration
- autoJumpObstacleMaxAngle
- autoJumpDisableJumping
- minSlideEntrySpeed
- slideExitSpeed
- minFallSpeedToEngageRoll
- maxFallSpeedToEngageRoll
- rollStartSpeedModifier
- rollExitSpeedModifier
- rollTimeToComplete
- maxSlopeAngleDegrees
- maxWallAngleDegrees
- Constructor Details
- MovementSettings()
- MovementSettings(float, float, boolean, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, FlyMode, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, boolean, float, float, float, float, float, float, float, float, float)
- MovementSettings(MovementSettings)
- Method Details
- requireBounds(MemorySegment, int)
- getMass(MemorySegment)
- getMass(MemorySegment, int)
- getDragCoefficient(MemorySegment)
- getDragCoefficient(MemorySegment, int)
- getInvertedGravity(MemorySegment)
- getInvertedGravity(MemorySegment, int)
- getVelocityResistance(MemorySegment)
- getVelocityResistance(MemorySegment, int)
- getJumpForce(MemorySegment)
- getJumpForce(MemorySegment, int)
- getSwimJumpForce(MemorySegment)
- getSwimJumpForce(MemorySegment, int)
- getJumpBufferDuration(MemorySegment)
- getJumpBufferDuration(MemorySegment, int)
- getJumpBufferMaxYVelocity(MemorySegment)
- getJumpBufferMaxYVelocity(MemorySegment, int)
- getAcceleration(MemorySegment)
- getAcceleration(MemorySegment, int)
- getAirDragMin(MemorySegment)
- getAirDragMin(MemorySegment, int)
- getAirDragMax(MemorySegment)
- getAirDragMax(MemorySegment, int)
- getAirDragMinSpeed(MemorySegment)
- getAirDragMinSpeed(MemorySegment, int)
- getAirDragMaxSpeed(MemorySegment)
- getAirDragMaxSpeed(MemorySegment, int)
- getAirFrictionMin(MemorySegment)
- getAirFrictionMin(MemorySegment, int)
- getAirFrictionMax(MemorySegment)
- getAirFrictionMax(MemorySegment, int)
- getAirFrictionMinSpeed(MemorySegment)
- getAirFrictionMinSpeed(MemorySegment, int)
- getAirFrictionMaxSpeed(MemorySegment)
- getAirFrictionMaxSpeed(MemorySegment, int)
- getAirSpeedMultiplier(MemorySegment)
- getAirSpeedMultiplier(MemorySegment, int)
- getAirControlMinSpeed(MemorySegment)
- getAirControlMinSpeed(MemorySegment, int)
- getAirControlMaxSpeed(MemorySegment)
- getAirControlMaxSpeed(MemorySegment, int)
- getAirControlMinMultiplier(MemorySegment)
- getAirControlMinMultiplier(MemorySegment, int)
- getAirControlMaxMultiplier(MemorySegment)
- getAirControlMaxMultiplier(MemorySegment, int)
- getComboAirSpeedMultiplier(MemorySegment)
- getComboAirSpeedMultiplier(MemorySegment, int)
- getBaseSpeed(MemorySegment)
- getBaseSpeed(MemorySegment, int)
- getClimbSpeed(MemorySegment)
- getClimbSpeed(MemorySegment, int)
- getClimbSpeedLateral(MemorySegment)
- getClimbSpeedLateral(MemorySegment, int)
- getClimbUpSprintSpeed(MemorySegment)
- getClimbUpSprintSpeed(MemorySegment, int)
- getClimbDownSprintSpeed(MemorySegment)
- getClimbDownSprintSpeed(MemorySegment, int)
- getHorizontalFlySpeed(MemorySegment)
- getHorizontalFlySpeed(MemorySegment, int)
- getVerticalFlySpeed(MemorySegment)
- getVerticalFlySpeed(MemorySegment, int)
- getMaxSpeedMultiplier(MemorySegment)
- getMaxSpeedMultiplier(MemorySegment, int)
- getMinSpeedMultiplier(MemorySegment)
- getMinSpeedMultiplier(MemorySegment, int)
- getWishDirectionGravityX(MemorySegment)
- getWishDirectionGravityX(MemorySegment, int)
- getWishDirectionGravityY(MemorySegment)
- getWishDirectionGravityY(MemorySegment, int)
- getWishDirectionWeightX(MemorySegment)
- getWishDirectionWeightX(MemorySegment, int)
- getWishDirectionWeightY(MemorySegment)
- getWishDirectionWeightY(MemorySegment, int)
- getFly(MemorySegment)
- getFly(MemorySegment, int)
- getCollisionExpulsionForce(MemorySegment)
- getCollisionExpulsionForce(MemorySegment, int)
- getForwardWalkSpeedMultiplier(MemorySegment)
- getForwardWalkSpeedMultiplier(MemorySegment, int)
- getBackwardWalkSpeedMultiplier(MemorySegment)
- getBackwardWalkSpeedMultiplier(MemorySegment, int)
- getStrafeWalkSpeedMultiplier(MemorySegment)
- getStrafeWalkSpeedMultiplier(MemorySegment, int)
- getForwardRunSpeedMultiplier(MemorySegment)
- getForwardRunSpeedMultiplier(MemorySegment, int)
- getBackwardRunSpeedMultiplier(MemorySegment)
- getBackwardRunSpeedMultiplier(MemorySegment, int)
- getStrafeRunSpeedMultiplier(MemorySegment)
- getStrafeRunSpeedMultiplier(MemorySegment, int)
- getForwardCrouchSpeedMultiplier(MemorySegment)
- getForwardCrouchSpeedMultiplier(MemorySegment, int)
- getBackwardCrouchSpeedMultiplier(MemorySegment)
- getBackwardCrouchSpeedMultiplier(MemorySegment, int)
- getStrafeCrouchSpeedMultiplier(MemorySegment)
- getStrafeCrouchSpeedMultiplier(MemorySegment, int)
- getForwardSprintSpeedMultiplier(MemorySegment)
- getForwardSprintSpeedMultiplier(MemorySegment, int)
- getVariableJumpFallForce(MemorySegment)
- getVariableJumpFallForce(MemorySegment, int)
- getFallEffectDuration(MemorySegment)
- getFallEffectDuration(MemorySegment, int)
- getFallJumpForce(MemorySegment)
- getFallJumpForce(MemorySegment, int)
- getFallMomentumLoss(MemorySegment)
- getFallMomentumLoss(MemorySegment, int)
- getAutoJumpObstacleSpeedLoss(MemorySegment)
- getAutoJumpObstacleSpeedLoss(MemorySegment, int)
- getAutoJumpObstacleSprintSpeedLoss(MemorySegment)
- getAutoJumpObstacleSprintSpeedLoss(MemorySegment, int)
- getAutoJumpObstacleEffectDuration(MemorySegment)
- getAutoJumpObstacleEffectDuration(MemorySegment, int)
- getAutoJumpObstacleSprintEffectDuration(MemorySegment)
- getAutoJumpObstacleSprintEffectDuration(MemorySegment, int)
- getAutoJumpObstacleMaxAngle(MemorySegment)
- getAutoJumpObstacleMaxAngle(MemorySegment, int)
- getAutoJumpDisableJumping(MemorySegment)
- getAutoJumpDisableJumping(MemorySegment, int)
- getMinSlideEntrySpeed(MemorySegment)
- getMinSlideEntrySpeed(MemorySegment, int)
- getSlideExitSpeed(MemorySegment)
- getSlideExitSpeed(MemorySegment, int)
- getMinFallSpeedToEngageRoll(MemorySegment)
- getMinFallSpeedToEngageRoll(MemorySegment, int)
- getMaxFallSpeedToEngageRoll(MemorySegment)
- getMaxFallSpeedToEngageRoll(MemorySegment, int)
- getRollStartSpeedModifier(MemorySegment)
- getRollStartSpeedModifier(MemorySegment, int)
- getRollExitSpeedModifier(MemorySegment)
- getRollExitSpeedModifier(MemorySegment, int)
- getRollTimeToComplete(MemorySegment)
- getRollTimeToComplete(MemorySegment, int)
- getMaxSlopeAngleDegrees(MemorySegment)
- getMaxSlopeAngleDegrees(MemorySegment, int)
- getMaxWallAngleDegrees(MemorySegment)
- getMaxWallAngleDegrees(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class MovementSettings
java.lang.Object
com.hypixel.hytale.protocol.MovementSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatbooleanfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatstatic final intfloatfloatfloatfloatfloatbooleanfloatfloatfloatfloatstatic final intfloatfloatfloatfloatfloatfloatfloatstatic final intfloatfloatfloatfloatfloatfloatfloatfloatstatic final intstatic final intfloatfloatfloatfloatfloatfloatfloat -
Constructor Summary
ConstructorsConstructorDescriptionMovementSettings(float mass, float dragCoefficient, boolean invertedGravity, float velocityResistance, float jumpForce, float swimJumpForce, float jumpBufferDuration, float jumpBufferMaxYVelocity, float acceleration, float airDragMin, float airDragMax, float airDragMinSpeed, float airDragMaxSpeed, float airFrictionMin, float airFrictionMax, float airFrictionMinSpeed, float airFrictionMaxSpeed, float airSpeedMultiplier, float airControlMinSpeed, float airControlMaxSpeed, float airControlMinMultiplier, float airControlMaxMultiplier, float comboAirSpeedMultiplier, float baseSpeed, float climbSpeed, float climbSpeedLateral, float climbUpSprintSpeed, float climbDownSprintSpeed, float horizontalFlySpeed, float verticalFlySpeed, float maxSpeedMultiplier, float minSpeedMultiplier, float wishDirectionGravityX, float wishDirectionGravityY, float wishDirectionWeightX, float wishDirectionWeightY, FlyMode fly, float collisionExpulsionForce, float forwardWalkSpeedMultiplier, float backwardWalkSpeedMultiplier, float strafeWalkSpeedMultiplier, float forwardRunSpeedMultiplier, float backwardRunSpeedMultiplier, float strafeRunSpeedMultiplier, float forwardCrouchSpeedMultiplier, float backwardCrouchSpeedMultiplier, float strafeCrouchSpeedMultiplier, float forwardSprintSpeedMultiplier, float variableJumpFallForce, float fallEffectDuration, float fallJumpForce, float fallMomentumLoss, float autoJumpObstacleSpeedLoss, float autoJumpObstacleSprintSpeedLoss, float autoJumpObstacleEffectDuration, float autoJumpObstacleSprintEffectDuration, float autoJumpObstacleMaxAngle, boolean autoJumpDisableJumping, float minSlideEntrySpeed, float slideExitSpeed, float minFallSpeedToEngageRoll, float maxFallSpeedToEngageRoll, float rollStartSpeedModifier, float rollExitSpeedModifier, float rollTimeToComplete, float maxSlopeAngleDegrees, float maxWallAngleDegrees) MovementSettings(MovementSettings other) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic floatstatic floatgetAcceleration(MemorySegment mem, int offset) static floatstatic floatgetAirControlMaxMultiplier(MemorySegment mem, int offset) static floatstatic floatgetAirControlMaxSpeed(MemorySegment mem, int offset) static floatstatic floatgetAirControlMinMultiplier(MemorySegment mem, int offset) static floatstatic floatgetAirControlMinSpeed(MemorySegment mem, int offset) static floatstatic floatgetAirDragMax(MemorySegment mem, int offset) static floatstatic floatgetAirDragMaxSpeed(MemorySegment mem, int offset) static floatstatic floatgetAirDragMin(MemorySegment mem, int offset) static floatstatic floatgetAirDragMinSpeed(MemorySegment mem, int offset) static floatstatic floatgetAirFrictionMax(MemorySegment mem, int offset) static floatstatic floatgetAirFrictionMaxSpeed(MemorySegment mem, int offset) static floatstatic floatgetAirFrictionMin(MemorySegment mem, int offset) static floatstatic floatgetAirFrictionMinSpeed(MemorySegment mem, int offset) static floatstatic floatgetAirSpeedMultiplier(MemorySegment mem, int offset) static booleanstatic booleangetAutoJumpDisableJumping(MemorySegment mem, int offset) static floatstatic floatgetAutoJumpObstacleEffectDuration(MemorySegment mem, int offset) static floatstatic floatgetAutoJumpObstacleMaxAngle(MemorySegment mem, int offset) static floatstatic floatgetAutoJumpObstacleSpeedLoss(MemorySegment mem, int offset) static floatstatic floatgetAutoJumpObstacleSprintEffectDuration(MemorySegment mem, int offset) static floatstatic floatgetAutoJumpObstacleSprintSpeedLoss(MemorySegment mem, int offset) static floatstatic floatgetBackwardCrouchSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetBackwardRunSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetBackwardWalkSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetBaseSpeed(MemorySegment mem, int offset) static floatstatic floatgetClimbDownSprintSpeed(MemorySegment mem, int offset) static floatstatic floatgetClimbSpeed(MemorySegment mem, int offset) static floatstatic floatgetClimbSpeedLateral(MemorySegment mem, int offset) static floatstatic floatgetClimbUpSprintSpeed(MemorySegment mem, int offset) static floatstatic floatgetCollisionExpulsionForce(MemorySegment mem, int offset) static floatstatic floatgetComboAirSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetDragCoefficient(MemorySegment mem, int offset) static floatstatic floatgetFallEffectDuration(MemorySegment mem, int offset) static floatstatic floatgetFallJumpForce(MemorySegment mem, int offset) static floatstatic floatgetFallMomentumLoss(MemorySegment mem, int offset) static FlyModegetFly(MemorySegment mem) static FlyModegetFly(MemorySegment mem, int offset) static floatstatic floatgetForwardCrouchSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetForwardRunSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetForwardSprintSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetForwardWalkSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetHorizontalFlySpeed(MemorySegment mem, int offset) static booleanstatic booleangetInvertedGravity(MemorySegment mem, int offset) static floatstatic floatgetJumpBufferDuration(MemorySegment mem, int offset) static floatstatic floatgetJumpBufferMaxYVelocity(MemorySegment mem, int offset) static floatstatic floatgetJumpForce(MemorySegment mem, int offset) static floatgetMass(MemorySegment mem) static floatgetMass(MemorySegment mem, int offset) static floatstatic floatgetMaxFallSpeedToEngageRoll(MemorySegment mem, int offset) static floatstatic floatgetMaxSlopeAngleDegrees(MemorySegment mem, int offset) static floatstatic floatgetMaxSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetMaxWallAngleDegrees(MemorySegment mem, int offset) static floatstatic floatgetMinFallSpeedToEngageRoll(MemorySegment mem, int offset) static floatstatic floatgetMinSlideEntrySpeed(MemorySegment mem, int offset) static floatstatic floatgetMinSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetRollExitSpeedModifier(MemorySegment mem, int offset) static floatstatic floatgetRollStartSpeedModifier(MemorySegment mem, int offset) static floatstatic floatgetRollTimeToComplete(MemorySegment mem, int offset) static floatstatic floatgetSlideExitSpeed(MemorySegment mem, int offset) static floatstatic floatgetStrafeCrouchSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetStrafeRunSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetStrafeWalkSpeedMultiplier(MemorySegment mem, int offset) static floatstatic floatgetSwimJumpForce(MemorySegment mem, int offset) static floatstatic floatgetVariableJumpFallForce(MemorySegment mem, int offset) static floatstatic floatgetVelocityResistance(MemorySegment mem, int offset) static floatstatic floatgetVerticalFlySpeed(MemorySegment mem, int offset) static floatstatic floatgetWishDirectionGravityX(MemorySegment mem, int offset) static floatstatic floatgetWishDirectionGravityY(MemorySegment mem, int offset) static floatstatic floatgetWishDirectionWeightX(MemorySegment mem, int offset) static floatstatic floatgetWishDirectionWeightY(MemorySegment mem, int offset) inthashCode()static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static MovementSettingstoObject(MemorySegment mem) static MovementSettingstoObject(MemorySegment mem, int offset) static MovementSettingstoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one MovementSettings and reports the end of its encoding through the cursor.
-
Field Details
-
NULLABLE_BIT_FIELD_SIZE
public static final int NULLABLE_BIT_FIELD_SIZE- See Also:
-
FIXED_BLOCK_SIZE
public static final int FIXED_BLOCK_SIZE- See Also:
-
VARIABLE_FIELD_COUNT
public static final int VARIABLE_FIELD_COUNT- See Also:
-
VARIABLE_BLOCK_START
public static final int VARIABLE_BLOCK_START- See Also:
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
mass
public float mass -
dragCoefficient
public float dragCoefficient -
invertedGravity
public boolean invertedGravity -
velocityResistance
public float velocityResistance -
jumpForce
public float jumpForce -
swimJumpForce
public float swimJumpForce -
jumpBufferDuration
public float jumpBufferDuration -
jumpBufferMaxYVelocity
public float jumpBufferMaxYVelocity -
acceleration
public float acceleration -
airDragMin
public float airDragMin -
airDragMax
public float airDragMax -
airDragMinSpeed
public float airDragMinSpeed -
airDragMaxSpeed
public float airDragMaxSpeed -
airFrictionMin
public float airFrictionMin -
airFrictionMax
public float airFrictionMax -
airFrictionMinSpeed
public float airFrictionMinSpeed -
airFrictionMaxSpeed
public float airFrictionMaxSpeed -
airSpeedMultiplier
public float airSpeedMultiplier -
airControlMinSpeed
public float airControlMinSpeed -
airControlMaxSpeed
public float airControlMaxSpeed -
airControlMinMultiplier
public float airControlMinMultiplier -
airControlMaxMultiplier
public float airControlMaxMultiplier -
comboAirSpeedMultiplier
public float comboAirSpeedMultiplier -
baseSpeed
public float baseSpeed -
climbSpeed
public float climbSpeed -
climbSpeedLateral
public float climbSpeedLateral -
climbUpSprintSpeed
public float climbUpSprintSpeed -
climbDownSprintSpeed
public float climbDownSprintSpeed -
horizontalFlySpeed
public float horizontalFlySpeed -
verticalFlySpeed
public float verticalFlySpeed -
maxSpeedMultiplier
public float maxSpeedMultiplier -
minSpeedMultiplier
public float minSpeedMultiplier -
wishDirectionGravityX
public float wishDirectionGravityX -
wishDirectionGravityY
public float wishDirectionGravityY -
wishDirectionWeightX
public float wishDirectionWeightX -
wishDirectionWeightY
public float wishDirectionWeightY -
fly
-
collisionExpulsionForce
public float collisionExpulsionForce -
forwardWalkSpeedMultiplier
public float forwardWalkSpeedMultiplier -
backwardWalkSpeedMultiplier
public float backwardWalkSpeedMultiplier -
strafeWalkSpeedMultiplier
public float strafeWalkSpeedMultiplier -
forwardRunSpeedMultiplier
public float forwardRunSpeedMultiplier -
backwardRunSpeedMultiplier
public float backwardRunSpeedMultiplier -
strafeRunSpeedMultiplier
public float strafeRunSpeedMultiplier -
forwardCrouchSpeedMultiplier
public float forwardCrouchSpeedMultiplier -
backwardCrouchSpeedMultiplier
public float backwardCrouchSpeedMultiplier -
strafeCrouchSpeedMultiplier
public float strafeCrouchSpeedMultiplier -
forwardSprintSpeedMultiplier
public float forwardSprintSpeedMultiplier -
variableJumpFallForce
public float variableJumpFallForce -
fallEffectDuration
public float fallEffectDuration -
fallJumpForce
public float fallJumpForce -
fallMomentumLoss
public float fallMomentumLoss -
autoJumpObstacleSpeedLoss
public float autoJumpObstacleSpeedLoss -
autoJumpObstacleSprintSpeedLoss
public float autoJumpObstacleSprintSpeedLoss -
autoJumpObstacleEffectDuration
public float autoJumpObstacleEffectDuration -
autoJumpObstacleSprintEffectDuration
public float autoJumpObstacleSprintEffectDuration -
autoJumpObstacleMaxAngle
public float autoJumpObstacleMaxAngle -
autoJumpDisableJumping
public boolean autoJumpDisableJumping -
minSlideEntrySpeed
public float minSlideEntrySpeed -
slideExitSpeed
public float slideExitSpeed -
minFallSpeedToEngageRoll
public float minFallSpeedToEngageRoll -
maxFallSpeedToEngageRoll
public float maxFallSpeedToEngageRoll -
rollStartSpeedModifier
public float rollStartSpeedModifier -
rollExitSpeedModifier
public float rollExitSpeedModifier -
rollTimeToComplete
public float rollTimeToComplete -
maxSlopeAngleDegrees
public float maxSlopeAngleDegrees -
maxWallAngleDegrees
public float maxWallAngleDegrees
-
-
Constructor Details
-
MovementSettings
public MovementSettings() -
MovementSettings
public MovementSettings(float mass, float dragCoefficient, boolean invertedGravity, float velocityResistance, float jumpForce, float swimJumpForce, float jumpBufferDuration, float jumpBufferMaxYVelocity, float acceleration, float airDragMin, float airDragMax, float airDragMinSpeed, float airDragMaxSpeed, float airFrictionMin, float airFrictionMax, float airFrictionMinSpeed, float airFrictionMaxSpeed, float airSpeedMultiplier, float airControlMinSpeed, float airControlMaxSpeed, float airControlMinMultiplier, float airControlMaxMultiplier, float comboAirSpeedMultiplier, float baseSpeed, float climbSpeed, float climbSpeedLateral, float climbUpSprintSpeed, float climbDownSprintSpeed, float horizontalFlySpeed, float verticalFlySpeed, float maxSpeedMultiplier, float minSpeedMultiplier, float wishDirectionGravityX, float wishDirectionGravityY, float wishDirectionWeightX, float wishDirectionWeightY, @Nonnull FlyMode fly, float collisionExpulsionForce, float forwardWalkSpeedMultiplier, float backwardWalkSpeedMultiplier, float strafeWalkSpeedMultiplier, float forwardRunSpeedMultiplier, float backwardRunSpeedMultiplier, float strafeRunSpeedMultiplier, float forwardCrouchSpeedMultiplier, float backwardCrouchSpeedMultiplier, float strafeCrouchSpeedMultiplier, float forwardSprintSpeedMultiplier, float variableJumpFallForce, float fallEffectDuration, float fallJumpForce, float fallMomentumLoss, float autoJumpObstacleSpeedLoss, float autoJumpObstacleSprintSpeedLoss, float autoJumpObstacleEffectDuration, float autoJumpObstacleSprintEffectDuration, float autoJumpObstacleMaxAngle, boolean autoJumpDisableJumping, float minSlideEntrySpeed, float slideExitSpeed, float minFallSpeedToEngageRoll, float maxFallSpeedToEngageRoll, float rollStartSpeedModifier, float rollExitSpeedModifier, float rollTimeToComplete, float maxSlopeAngleDegrees, float maxWallAngleDegrees) -
MovementSettings
-
-
Method Details
-
requireBounds
Checks that the fixed block fits. The per-field getters read without their own bound check, so call this once before reading fields out of an untrusted segment. -
getMass
-
getMass
-
getDragCoefficient
-
getDragCoefficient
-
getInvertedGravity
-
getInvertedGravity
-
getVelocityResistance
-
getVelocityResistance
-
getJumpForce
-
getJumpForce
-
getSwimJumpForce
-
getSwimJumpForce
-
getJumpBufferDuration
-
getJumpBufferDuration
-
getJumpBufferMaxYVelocity
-
getJumpBufferMaxYVelocity
-
getAcceleration
-
getAcceleration
-
getAirDragMin
-
getAirDragMin
-
getAirDragMax
-
getAirDragMax
-
getAirDragMinSpeed
-
getAirDragMinSpeed
-
getAirDragMaxSpeed
-
getAirDragMaxSpeed
-
getAirFrictionMin
-
getAirFrictionMin
-
getAirFrictionMax
-
getAirFrictionMax
-
getAirFrictionMinSpeed
-
getAirFrictionMinSpeed
-
getAirFrictionMaxSpeed
-
getAirFrictionMaxSpeed
-
getAirSpeedMultiplier
-
getAirSpeedMultiplier
-
getAirControlMinSpeed
-
getAirControlMinSpeed
-
getAirControlMaxSpeed
-
getAirControlMaxSpeed
-
getAirControlMinMultiplier
-
getAirControlMinMultiplier
-
getAirControlMaxMultiplier
-
getAirControlMaxMultiplier
-
getComboAirSpeedMultiplier
-
getComboAirSpeedMultiplier
-
getBaseSpeed
-
getBaseSpeed
-
getClimbSpeed
-
getClimbSpeed
-
getClimbSpeedLateral
-
getClimbSpeedLateral
-
getClimbUpSprintSpeed
-
getClimbUpSprintSpeed
-
getClimbDownSprintSpeed
-
getClimbDownSprintSpeed
-
getHorizontalFlySpeed
-
getHorizontalFlySpeed
-
getVerticalFlySpeed
-
getVerticalFlySpeed
-
getMaxSpeedMultiplier
-
getMaxSpeedMultiplier
-
getMinSpeedMultiplier
-
getMinSpeedMultiplier
-
getWishDirectionGravityX
-
getWishDirectionGravityX
-
getWishDirectionGravityY
-
getWishDirectionGravityY
-
getWishDirectionWeightX
-
getWishDirectionWeightX
-
getWishDirectionWeightY
-
getWishDirectionWeightY
-
getFly
-
getFly
-
getCollisionExpulsionForce
-
getCollisionExpulsionForce
-
getForwardWalkSpeedMultiplier
-
getForwardWalkSpeedMultiplier
-
getBackwardWalkSpeedMultiplier
-
getBackwardWalkSpeedMultiplier
-
getStrafeWalkSpeedMultiplier
-
getStrafeWalkSpeedMultiplier
-
getForwardRunSpeedMultiplier
-
getForwardRunSpeedMultiplier
-
getBackwardRunSpeedMultiplier
-
getBackwardRunSpeedMultiplier
-
getStrafeRunSpeedMultiplier
-
getStrafeRunSpeedMultiplier
-
getForwardCrouchSpeedMultiplier
-
getForwardCrouchSpeedMultiplier
-
getBackwardCrouchSpeedMultiplier
-
getBackwardCrouchSpeedMultiplier
-
getStrafeCrouchSpeedMultiplier
-
getStrafeCrouchSpeedMultiplier
-
getForwardSprintSpeedMultiplier
-
getForwardSprintSpeedMultiplier
-
getVariableJumpFallForce
-
getVariableJumpFallForce
-
getFallEffectDuration
-
getFallEffectDuration
-
getFallJumpForce
-
getFallJumpForce
-
getFallMomentumLoss
-
getFallMomentumLoss
-
getAutoJumpObstacleSpeedLoss
-
getAutoJumpObstacleSpeedLoss
-
getAutoJumpObstacleSprintSpeedLoss
-
getAutoJumpObstacleSprintSpeedLoss
-
getAutoJumpObstacleEffectDuration
-
getAutoJumpObstacleEffectDuration
-
getAutoJumpObstacleSprintEffectDuration
-
getAutoJumpObstacleSprintEffectDuration
-
getAutoJumpObstacleMaxAngle
-
getAutoJumpObstacleMaxAngle
-
getAutoJumpDisableJumping
-
getAutoJumpDisableJumping
-
getMinSlideEntrySpeed
-
getMinSlideEntrySpeed
-
getSlideExitSpeed
-
getSlideExitSpeed
-
getMinFallSpeedToEngageRoll
-
getMinFallSpeedToEngageRoll
-
getMaxFallSpeedToEngageRoll
-
getMaxFallSpeedToEngageRoll
-
getRollStartSpeedModifier
-
getRollStartSpeedModifier
-
getRollExitSpeedModifier
-
getRollExitSpeedModifier
-
getRollTimeToComplete
-
getRollTimeToComplete
-
getMaxSlopeAngleDegrees
-
getMaxSlopeAngleDegrees
-
getMaxWallAngleDegrees
-
getMaxWallAngleDegrees
-
toObject
-
toObject
-
toObject
Decodes one MovementSettings and reports the end of its encoding through the cursor. The variable block is decoded in field order against a running position, and each offset slot must name that position, so the fields decoded are the bytes walked. -
serialize
-
computeSize
public int computeSize() -
clone
-
equals
-
hashCode
-