3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/entity/components/PlayerPositionModeComponent.h"
22namespace PlayerMovement {
25MCNAPI
void applyInputLocks(::ClientInputLockComponent
const& lockComponent, ::MoveInputState& inputState);
28MCNAPI ::Vec2 calculateButtonMoveVector(::MoveInputState
const& inputState);
31MCAPI ::Vec2 calculateMoveVector(
32 ::MoveInputState
const& inputState,
34 ::ActorDataFlagComponent
const& playerData,
36 ::SneakingComponent
const* sneakComponent
40MCNAPI
void clearInputState(::MoveInputComponent& input);
42MCNAPI
float getBob(::EntityContext
const& provider);
44MCNAPI
float getBobPrev(::EntityContext
const& provider);
47MCNAPI ::PlayerPositionModeComponent::PositionMode getPositionMode(::EntityContext
const& provider);
49MCNAPI
void initializePlayer(::EntityContext& provider);
51MCNAPI
void resetBob(::EntityContext& provider);
53MCNAPI
void setElytraFlightTimeTicks(::EntityContext& provider, ::Tick
const& value);
55MCNAPI
void setPositionMode(::EntityContext& provider, ::PlayerPositionModeComponent::PositionMode positionMode);
57MCNAPI
bool shouldStopEmoting(
59 ::ActorDataFlagComponent& actorDataFlag,
60 ::ActorDataDirtyFlagsComponent& actorDataDirtyFlags,
61 ::ClientInputLockComponent& lockComponent,
62 ::VanillaClientGameplayComponent& vanillaClientGameplayComponent
Definition EntityContext.h:15
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition SneakingComponent.h:5
Definition VanillaClientGameplayComponent.h:8