3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/strict/EntityModifier.h"
33namespace MobJumpSystem {
36MCAPI ::TickingSystemWithInfo createCleanupSystem();
38MCAPI ::TickingSystemWithInfo createDecrementNoJumpDelaySystem();
40MCAPI ::TickingSystemWithInfo createMobJumpSystem();
42MCAPI ::TickingSystemWithInfo createResetNoJumpDelaySystem();
44MCAPI
void doDecrementNoJumpDelaySystem(::MobJumpComponent& mobJumpComponent);
46MCAPI
void doJumpFromGround(
47 ::StrictEntityContext
const& context,
48 ::MobJumpComponent& mobJumpComponent,
49 ::EntityModifier<::JumpFromGroundRequestComponent> mod
52MCAPI
void doMobJumpSystem(
53 ::StrictEntityContext
const& context,
54 ::Optional<::JumpControlComponent const> jumpControl,
55 ::Optional<::OnGroundFlagComponent const> onGround,
56 ::Optional<::PlayerComponent const> isPlayer,
57 ::Optional<::SquidFlagComponent const> isSquid,
58 ::Optional<::WasInWaterFlagComponent const> isInWater,
59 ::Optional<::ActorHeadInWaterFlagComponent const> breathingPointInWater,
60 ::Optional<::CanStandOnSnowFlagComponent const> canStandOnSnow,
61 ::Optional<::HasLightweightFamilyFlagComponent const> isLightweightFamily,
62 ::Optional<::ImmuneToLavaDragComponent const> isImmuneToLavaDrag,
63 ::AABBShapeComponent
const& aabbShape,
64 ::SwimAmountComponent
const& swimAmount,
65 ::MobEffectsComponent
const& mobEffects,
66 ::SubBBsComponent
const& subBBs,
67 ::ActorDataFlagComponent
const& synchedActorData,
68 ::MobJumpComponent& mobJump,
69 ::StateVectorComponent& stateVector,
70 ::EntityModifier<::JumpFromGroundRequestComponent> entityModifier,
71 ::IConstBlockSource
const& region
74MCAPI
void doResetNoJumpDelaySystem(::StrictEntityContext
const& mobJumpComponent, ::MobJumpComponent&);
76MCAPI
void doSwimmerSwimUp(
77 ::Optional<::JumpControlComponent const>
const& jumpControl,
78 ::Optional<::SquidFlagComponent const>
const& isSquid,
79 ::MobEffectsComponent
const& mobEffects,
80 ::MobJumpComponent& mobJump,
81 ::StateVectorComponent& stateVector
84MCAPI
bool shouldAscendLadder(
85 ::Optional<::PlayerComponent const>
const& isPlayer,
86 ::Optional<::CanStandOnSnowFlagComponent const>
const& canStandOnSnow,
87 ::Optional<::HasLightweightFamilyFlagComponent const>
const& isLightweightFamily,
88 ::AABBShapeComponent
const& aabbShapeComponent,
89 ::ActorDataFlagComponent
const& synchedActorDataComponent,
90 ::StateVectorComponent
const& stateVectorComponent,
91 ::IConstBlockSource
const& region
94MCAPI
bool shouldDoLavaSwimUp(
95 ::Optional<::ImmuneToLavaDragComponent const>
const& isImmuneToLavaDrag,
96 ::AABBShapeComponent
const& aabbShape,
97 ::SubBBsComponent
const& subBBs,
98 ::IConstBlockSource
const& region
102shouldJumpFromGround(::Optional<::OnGroundFlagComponent const>
const& onGround, ::MobJumpComponent
const& mobJump);
Definition IConstBlockSource.h:24
Definition JumpControlComponent.h:17
Definition StrictEntityContext.h:14
Definition AABBShapeComponent.h:9
Definition ActorDataFlagComponent.h:10
Definition ActorHeadInWaterFlagComponent.h:5
Definition CanStandOnSnowFlagComponent.h:5
Definition HasLightweightFamilyFlagComponent.h:5
Definition ImmuneToLavaDragComponent.h:5
Definition JumpFromGroundRequestComponent.h:5
Definition MobEffectsComponent.h:8
Definition MobJumpComponent.h:8
Definition OnGroundFlagComponent.h:5
Definition PlayerComponent.h:5
Definition SquidFlagComponent.h:5
Definition StateVectorComponent.h:8
Definition SubBBsComponent.h:10
Definition SwimAmountComponent.h:5
Definition TickingSystemWithInfo.h:13
Definition WasInWaterFlagComponent.h:5