LeviLamina
Loading...
Searching...
No Matches
HardcodedAnimationSystem.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/Include.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
StrictEntityContext
;
13
struct
ActorDataFlagComponent
;
14
struct
ActorMovementTickNeededComponent
;
15
struct
ActorWalkAnimationComponent
;
16
struct
BlazeFlagComponent
;
17
struct
DynamicRenderOffsetComponent
;
18
struct
LavaSlimeFlagComponent
;
19
struct
MobAnimationComponent
;
20
struct
MobBodyRotationComponent
;
21
struct
MobFlagComponent
;
22
struct
MobHurtTimeComponent
;
23
struct
MobIsJumpingFlagComponent
;
24
struct
OnFireComponent
;
25
struct
PassengerComponent
;
26
struct
StateVectorComponent
;
27
// clang-format on
28
29
namespace
HardcodedAnimationSystem {
30
// functions
31
// NOLINTBEGIN
32
MCAPI
void
33
addOffsetToMovementThisTick(
::DynamicRenderOffsetComponent
const
& offset,
::ActorWalkAnimationComponent
& walk);
34
35
MCAPI
void
computeMovementThisTick(
::StateVectorComponent
const
& stateVector,
::ActorWalkAnimationComponent
& walk);
36
37
MCAPI
void
doHardcodedAnimation(
38
::StrictEntityContext
const
&,
39
::MobAnimationComponent
& mobAnim,
40
::MobBodyRotationComponent
const
& bodyRot,
41
::MobHurtTimeComponent
const
& mobHurtTime,
42
::ActorWalkAnimationComponent
& mobWalkAnimation,
43
::ActorDataFlagComponent
const
& syncedActorData,
44
::Optional<::BlazeFlagComponent const>
blaze,
45
::Optional<::LavaSlimeFlagComponent const>
lavaSlime,
46
::Optional<::OnFireComponent const>
onFire,
47
::Optional<::PassengerComponent const>
passenger,
48
::Optional<::MobIsJumpingFlagComponent const>
isJumping
49
);
50
51
MCAPI
void
tick(
52
::ViewT
<
53
::StrictEntityContext
,
54
::Include<::ActorMovementTickNeededComponent>
,
55
::StateVectorComponent
const
,
56
::ActorWalkAnimationComponent
> speedView,
57
::ViewT
<
58
::StrictEntityContext
,
59
::Include<::ActorMovementTickNeededComponent>
,
60
::DynamicRenderOffsetComponent
const
,
61
::ActorWalkAnimationComponent
> offsetView,
62
::ViewT
<
63
::StrictEntityContext
,
64
::Include<::ActorMovementTickNeededComponent, ::MobFlagComponent>
,
65
::MobAnimationComponent
,
66
::MobBodyRotationComponent
const
,
67
::MobHurtTimeComponent
const
,
68
::ActorWalkAnimationComponent
,
69
::ActorDataFlagComponent
const
,
70
::Optional<::BlazeFlagComponent const>
,
71
::Optional<::LavaSlimeFlagComponent const>
,
72
::Optional<::OnFireComponent const>
,
73
::Optional<::PassengerComponent const>
,
74
::Optional<::MobIsJumpingFlagComponent const>
> view
75
);
76
// NOLINTEND
77
78
}
// namespace HardcodedAnimationSystem
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:10
ViewT
Definition
ViewT.h:6
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:8
ActorMovementTickNeededComponent
Definition
ActorMovementTickNeededComponent.h:5
ActorWalkAnimationComponent
Definition
ActorWalkAnimationComponent.h:5
BlazeFlagComponent
Definition
BlazeFlagComponent.h:5
DynamicRenderOffsetComponent
Definition
DynamicRenderOffsetComponent.h:10
Include
Definition
Include.h:6
LavaSlimeFlagComponent
Definition
LavaSlimeFlagComponent.h:5
MobAnimationComponent
Definition
MobAnimationComponent.h:8
MobBodyRotationComponent
Definition
MobBodyRotationComponent.h:5
MobFlagComponent
Definition
MobFlagComponent.h:5
MobHurtTimeComponent
Definition
MobHurtTimeComponent.h:8
MobIsJumpingFlagComponent
Definition
MobIsJumpingFlagComponent.h:5
OnFireComponent
Definition
OnFireComponent.h:5
PassengerComponent
Definition
PassengerComponent.h:10
StateVectorComponent
Definition
StateVectorComponent.h:10
src
mc
entity
systems
HardcodedAnimationSystem.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0