LeviLamina
Loading...
Searching...
No Matches
MobJumpSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
11
12// auto generated forward declare list
13// clang-format off
26struct MobFlagComponent;
28struct MobJumpComponent;
31struct PlayerComponent;
34struct SubBBsComponent;
38// clang-format on
39
40namespace MobJumpSystem {
41// functions
42// NOLINTBEGIN
43MCAPI ::TickingSystemWithInfo createCleanupSystem();
44
45MCAPI void doDecrementNoJumpDelaySystem(::MobJumpComponent& mobJumpComponent);
46
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
67);
68
69MCAPI void doResetNoJumpDelaySystem(::StrictEntityContext const&, ::MobJumpComponent& mobJumpComponent);
70
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
77);
78
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
87);
88
89MCAPI void tickDecrementNoJumpDelaySystem(
90 ::ViewT<
91 ::StrictEntityContext,
92 ::Include<::InterpolateMovementNeededComponent, ::MobFlagComponent>,
93 ::MobJumpComponent> view
94);
95
96MCAPI void tickResetNoJumpDelaySystem(
97 ::ViewT<
98 ::StrictEntityContext,
99 ::Include<::InterpolateMovementNeededComponent, ::MobFlagComponent>,
100 ::Exclude<::MobIsJumpingFlagComponent, ::PassengerComponent>,
101 ::MobJumpComponent> view
102);
103// NOLINTEND
104
105} // namespace MobJumpSystem
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