Interface MoveParams

Interface used to specify how entity should move.

interface MoveParams {
    denyY?: boolean;
    jumpVel?: number;
    speed?: number;
}

Properties

denyY?: boolean

If true, entity won't change it's Y velocity.

jumpVel?: number

Y velocity (jump speed).

speed?: number

Movement speed.

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.