3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/ViewT.h"
8#include "mc/deps/ecs/strict/EntityModifier.h"
9#include "mc/deps/ecs/strict/Exclude.h"
10#include "mc/deps/ecs/strict/Include.h"
40namespace MobJumpSystem {
43MCAPI ::TickingSystemWithInfo createCleanupSystem();
45MCAPI
void doDecrementNoJumpDelaySystem(::MobJumpComponent& mobJumpComponent);
47MCAPI
void doMobJumpSystem(
48 ::StrictEntityContext
const& context,
49 ::Optional<::JumpControlComponent const> jumpControl,
50 ::Optional<::OnGroundFlagComponent const> onGround,
51 ::Optional<::PlayerComponent const> isPlayer,
52 ::Optional<::SquidFlagComponent const> isSquid,
53 ::Optional<::WasInWaterFlagComponent const> isInWater,
54 ::Optional<::ActorHeadInWaterFlagComponent const> breathingPointInWater,
55 ::Optional<::CanStandOnSnowFlagComponent const> canStandOnSnow,
56 ::Optional<::HasLightweightFamilyFlagComponent const> isLightweightFamily,
57 ::Optional<::ImmuneToLavaDragComponent const> isImmuneToLavaDrag,
58 ::AABBShapeComponent
const& aabbShape,
59 ::SwimAmountComponent
const& swimAmount,
60 ::MobEffectsComponent
const& mobEffects,
61 ::SubBBsComponent
const& subBBs,
62 ::ActorDataFlagComponent
const& synchedActorData,
63 ::MobJumpComponent& mobJump,
64 ::StateVectorComponent& stateVector,
65 ::EntityModifier<::JumpFromGroundRequestComponent> entityModifier,
66 ::IConstBlockSource
const& region
69MCAPI
void doResetNoJumpDelaySystem(::StrictEntityContext
const&, ::MobJumpComponent& mobJumpComponent);
71MCAPI
void doSwimmerSwimUp(
72 ::Optional<::JumpControlComponent const>
const& jumpControl,
73 ::Optional<::SquidFlagComponent const>
const& isSquid,
74 ::MobEffectsComponent
const& mobEffects,
75 ::MobJumpComponent& mobJump,
76 ::StateVectorComponent& stateVector
79MCAPI
bool shouldAscendLadder(
80 ::Optional<::PlayerComponent const>
const& isPlayer,
81 ::Optional<::CanStandOnSnowFlagComponent const>
const& canStandOnSnow,
82 ::Optional<::HasLightweightFamilyFlagComponent const>
const& isLightweightFamily,
83 ::AABBShapeComponent
const& aabbShapeComponent,
84 ::ActorDataFlagComponent
const& synchedActorDataComponent,
85 ::StateVectorComponent
const& stateVectorComponent,
86 ::IConstBlockSource
const& region
89MCAPI
void tickDecrementNoJumpDelaySystem(
91 ::StrictEntityContext,
92 ::Include<::InterpolateMovementNeededComponent, ::MobFlagComponent>,
93 ::MobJumpComponent> view
96MCAPI
void tickResetNoJumpDelaySystem(
98 ::StrictEntityContext,
99 ::Include<::InterpolateMovementNeededComponent, ::MobFlagComponent>,
100 ::Exclude<::MobIsJumpingFlagComponent, ::PassengerComponent>,
101 ::MobJumpComponent> view
Definition IConstBlockSource.h:25
Definition JumpControlComponent.h:16
Definition StrictEntityContext.h:8
Definition AABBShapeComponent.h:9
Definition ActorDataFlagComponent.h:9
Definition ActorHeadInWaterFlagComponent.h:5
Definition CanStandOnSnowFlagComponent.h:5
Definition HasLightweightFamilyFlagComponent.h:5
Definition ImmuneToLavaDragComponent.h:5
Definition InterpolateMovementNeededComponent.h:5
Definition JumpFromGroundRequestComponent.h:5
Definition MobEffectsComponent.h:10
Definition MobFlagComponent.h:5
Definition MobIsJumpingFlagComponent.h:5
Definition MobJumpComponent.h:8
Definition OnGroundFlagComponent.h:5
Definition PassengerComponent.h:8
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