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/strict/EntityModifier.h"
8
9// auto generated forward declare list
10// clang-format off
22struct MobJumpComponent;
24struct PlayerComponent;
27struct SubBBsComponent;
31// clang-format on
32
33namespace MobJumpSystem {
34// functions
35// NOLINTBEGIN
36MCAPI ::TickingSystemWithInfo createCleanupSystem();
37
38MCAPI ::TickingSystemWithInfo createDecrementNoJumpDelaySystem();
39
40MCAPI ::TickingSystemWithInfo createMobJumpSystem();
41
42MCAPI ::TickingSystemWithInfo createResetNoJumpDelaySystem();
43
44MCAPI void doDecrementNoJumpDelaySystem(::MobJumpComponent& mobJumpComponent);
45
46MCAPI void doJumpFromGround(
47 ::StrictEntityContext const& context,
48 ::MobJumpComponent& mobJumpComponent,
49 ::EntityModifier<::JumpFromGroundRequestComponent> mod
50);
51
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
72);
73
74MCAPI void doResetNoJumpDelaySystem(::StrictEntityContext const& mobJumpComponent, ::MobJumpComponent&);
75
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
82);
83
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
92);
93
94MCAPI bool shouldDoLavaSwimUp(
95 ::Optional<::ImmuneToLavaDragComponent const> const& isImmuneToLavaDrag,
96 ::AABBShapeComponent const& aabbShape,
97 ::SubBBsComponent const& subBBs,
98 ::IConstBlockSource const& region
99);
100
101MCAPI bool
102shouldJumpFromGround(::Optional<::OnGroundFlagComponent const> const& onGround, ::MobJumpComponent const& mobJump);
103// NOLINTEND
104
105} // namespace MobJumpSystem
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