LeviLamina
Loading...
Searching...
No Matches
MobMovementClimb.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
Block
;
12
class
IConstBlockSource
;
13
class
NavigationComponent
;
14
class
StrictEntityContext
;
15
struct
AABBShapeComponent
;
16
struct
ActorDataFlagComponent
;
17
struct
AutoClimbTravelFlagComponent
;
18
struct
CanStandOnSnowFlagComponent
;
19
struct
HasLightweightFamilyFlagComponent
;
20
struct
StateVectorComponent
;
21
struct
TickingSystemWithInfo
;
22
// clang-format on
23
24
namespace
MobMovementClimb {
25
// functions
26
// NOLINTBEGIN
27
MCAPI
void
applyAutoClimbing(
28
::StrictEntityContext
const
& entity,
29
::StateVectorComponent
& stateVector,
30
::EntityModifier<::AutoClimbTravelFlagComponent>
climbModifier
31
);
32
33
MCAPI
bool
canAutoClimbNow(
34
::ActorDataFlagComponent
const
& synchedActorData,
35
::AABBShapeComponent
const
& aabbShape,
36
::StateVectorComponent
const
& stateVector,
37
bool
canClimbInPowderSnow,
38
::IConstBlockSource
const
& region
39
);
40
41
MCAPI
void
forAutoClimbSystems(::std::function<
void
(
::TickingSystemWithInfo
&&)>
const
& func);
42
43
MCAPI ::Block
const
& getBlockAtFeet(
44
::AABBShapeComponent
const
& aabbShape,
45
::StateVectorComponent
const
& stateVector,
46
::IConstBlockSource
const
& constBlockSource
47
);
48
49
MCAPI
void
tickAutoClimbingMob(
50
::StrictEntityContext
const
& entity,
51
::Optional<::CanStandOnSnowFlagComponent const>
canStandOnSnow,
52
::Optional<::HasLightweightFamilyFlagComponent const>
hasLightweightFamily,
53
::ActorDataFlagComponent
const
& synchedActorData,
54
::AABBShapeComponent
const
& aabbShape,
55
::StateVectorComponent
& stateVector,
56
::EntityModifier<::AutoClimbTravelFlagComponent>
climbModifier,
57
::IConstBlockSource
const
& region
58
);
59
60
MCAPI
void
tickAutoClimbingMobInLava(
61
::StrictEntityContext
const
& entity,
62
::NavigationComponent
const
& navigation,
63
::Optional<::CanStandOnSnowFlagComponent const>
canStandOnSnow,
64
::Optional<::HasLightweightFamilyFlagComponent const>
hasLightweightFamily,
65
::ActorDataFlagComponent
const
& synchedActorData,
66
::AABBShapeComponent
const
& aabbShape,
67
::StateVectorComponent
& stateVector,
68
::EntityModifier<::AutoClimbTravelFlagComponent>
climbModifier,
69
::IConstBlockSource
const
& region
70
);
71
// NOLINTEND
72
73
}
// namespace MobMovementClimb
Block
Definition
Block.h:36
EntityModifier
Definition
EntityModifier.h:6
IConstBlockSource
Definition
IConstBlockSource.h:24
NavigationComponent
Definition
NavigationComponent.h:22
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:10
AABBShapeComponent
Definition
AABBShapeComponent.h:11
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:8
AutoClimbTravelFlagComponent
Definition
AutoClimbTravelFlagComponent.h:5
CanStandOnSnowFlagComponent
Definition
CanStandOnSnowFlagComponent.h:5
HasLightweightFamilyFlagComponent
Definition
HasLightweightFamilyFlagComponent.h:5
StateVectorComponent
Definition
StateVectorComponent.h:10
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:11
src
mc
entity
systems
movement
mob
MobMovementClimb.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0