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
11
class
IConstBlockSource
;
12
class
JumpControlComponent
;
13
class
StrictEntityContext
;
14
struct
AABBShapeComponent
;
15
struct
ActorDataFlagComponent
;
16
struct
ActorHeadInWaterFlagComponent
;
17
struct
CanStandOnSnowFlagComponent
;
18
struct
HasLightweightFamilyFlagComponent
;
19
struct
ImmuneToLavaDragComponent
;
20
struct
JumpFromGroundRequestComponent
;
21
struct
MobEffectsComponent
;
22
struct
MobJumpComponent
;
23
struct
OnGroundFlagComponent
;
24
struct
PlayerComponent
;
25
struct
SquidFlagComponent
;
26
struct
StateVectorComponent
;
27
struct
SubBBsComponent
;
28
struct
SwimAmountComponent
;
29
struct
TickingSystemWithInfo
;
30
struct
WasInWaterFlagComponent
;
31
// clang-format on
32
33
namespace
MobJumpSystem {
34
// functions
35
// NOLINTBEGIN
36
MCAPI ::TickingSystemWithInfo createCleanupSystem();
37
38
MCAPI
void
doDecrementNoJumpDelaySystem(
::MobJumpComponent
& mobJumpComponent);
39
40
MCAPI
void
doMobJumpSystem(
41
::StrictEntityContext
const
&
context
,
42
::Optional<::JumpControlComponent const>
jumpControl,
43
::Optional<::OnGroundFlagComponent const>
onGround,
44
::Optional<::PlayerComponent const>
isPlayer,
45
::Optional<::SquidFlagComponent const>
isSquid,
46
::Optional<::WasInWaterFlagComponent const>
isInWater,
47
::Optional<::ActorHeadInWaterFlagComponent const>
breathingPointInWater,
48
::Optional<::CanStandOnSnowFlagComponent const>
canStandOnSnow,
49
::Optional<::HasLightweightFamilyFlagComponent const>
isLightweightFamily,
50
::Optional<::ImmuneToLavaDragComponent const>
isImmuneToLavaDrag,
51
::AABBShapeComponent
const
& aabbShape,
52
::SwimAmountComponent
const
& swimAmount,
53
::MobEffectsComponent
const
& mobEffects,
54
::SubBBsComponent
const
& subBBs,
55
::ActorDataFlagComponent
const
& synchedActorData,
56
::MobJumpComponent
& mobJump,
57
::StateVectorComponent
& stateVector,
58
::EntityModifier<::JumpFromGroundRequestComponent>
entityModifier,
59
::IConstBlockSource
const
& region
60
);
61
62
MCAPI
void
doResetNoJumpDelaySystem(
::StrictEntityContext
const
&,
::MobJumpComponent
& mobJumpComponent);
63
64
MCAPI
void
doSwimmerSwimUp(
65
::Optional<::JumpControlComponent const>
const
& jumpControl,
66
::Optional<::SquidFlagComponent const>
const
& isSquid,
67
::MobEffectsComponent
const
& mobEffects,
68
::MobJumpComponent
& mobJump,
69
::StateVectorComponent
& stateVector
70
);
71
72
MCAPI
bool
shouldAscendLadder(
73
::Optional<::PlayerComponent const>
const
& isPlayer,
74
::Optional<::CanStandOnSnowFlagComponent const>
const
& canStandOnSnow,
75
::Optional<::HasLightweightFamilyFlagComponent const>
const
& isLightweightFamily,
76
::AABBShapeComponent
const
& aabbShapeComponent,
77
::ActorDataFlagComponent
const
& synchedActorDataComponent,
78
::StateVectorComponent
const
& stateVectorComponent,
79
::IConstBlockSource
const
& region
80
);
81
// NOLINTEND
82
83
}
// namespace MobJumpSystem
EntityModifier
Definition
EntityModifier.h:6
IConstBlockSource
Definition
IConstBlockSource.h:24
JumpControlComponent
Definition
JumpControlComponent.h:14
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:10
AABBShapeComponent
Definition
AABBShapeComponent.h:11
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:8
ActorHeadInWaterFlagComponent
Definition
ActorHeadInWaterFlagComponent.h:5
CanStandOnSnowFlagComponent
Definition
CanStandOnSnowFlagComponent.h:5
HasLightweightFamilyFlagComponent
Definition
HasLightweightFamilyFlagComponent.h:5
ImmuneToLavaDragComponent
Definition
ImmuneToLavaDragComponent.h:5
JumpFromGroundRequestComponent
Definition
JumpFromGroundRequestComponent.h:5
MobEffectsComponent
Definition
MobEffectsComponent.h:10
MobJumpComponent
Definition
MobJumpComponent.h:10
OnGroundFlagComponent
Definition
OnGroundFlagComponent.h:5
PlayerComponent
Definition
PlayerComponent.h:5
SquidFlagComponent
Definition
SquidFlagComponent.h:5
StateVectorComponent
Definition
StateVectorComponent.h:10
SubBBsComponent
Definition
SubBBsComponent.h:10
SwimAmountComponent
Definition
SwimAmountComponent.h:5
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:11
WasInWaterFlagComponent
Definition
WasInWaterFlagComponent.h:5
context
Definition
context.h:5
src
mc
entity
systems
MobJumpSystem.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0