17class JumpControlComponent {
21 ::ll::TypedStorage<1, 1, bool> mJumping;
22 ::ll::TypedStorage<1, 1, bool> mSwimming;
23 ::ll::TypedStorage<4, 4, float> mJumpPower;
24 ::ll::TypedStorage<4, 4, ::JumpType> mJumpType;
25 ::ll::TypedStorage<4, 64, ::JumpData[4]> mJumpData;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::JumpControl>> mJumpControl;
32 MCAPI JumpControlComponent();
34 MCAPI JumpControlComponent(::JumpControlComponent
const& other);
36 MCAPI
float _getDelayInternal()
const;
38 MCAPI
float _getHeightInternal()
const;
40 MCAPI
int getAnimationDuration()
const;
42 MCAPI
float getDistanceScale()
const;
44 MCAPI
int getJumpDelay()
const;
46 MCAPI
float getJumpPower()
const;
48 MCFOLD
bool getJumping()
const;
50 MCFOLD
bool getSwimming()
const;
56 MCAPI ::JumpControlComponent& operator=(::JumpControlComponent
const& other);
58 MCAPI
void resetSpeedModifier(
::Mob& owner);
60 MCFOLD
void setInternalType(::std::unique_ptr<::JumpControl> type);
62 MCAPI
void setJumpType(::JumpType type);
64 MCFOLD
void setJumping(
bool jumping);
66 MCFOLD
void setSwimming(
bool swimming);
68 MCAPI
void update(
::Mob& owner);
76 MCAPI
void* $ctor(::JumpControlComponent
const& other);