LeviLamina
Loading...
Searching...
No Matches
BuoyancySystem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/ViewT.h"
7
#include "mc/deps/ecs/strict/EntityModifier.h"
8
#include "mc/deps/ecs/strict/OptionalGlobal.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
BuoyancyComponent
;
13
class
EntitySystems
;
14
class
IConstBlockSource
;
15
class
StrictEntityContext
;
16
struct
ActorDataFlagComponent
;
17
struct
BaseGameVersionComponent
;
18
struct
BuoyancyFloatRequestComponent
;
19
struct
StateVectorComponent
;
20
// clang-format on
21
22
namespace
BuoyancySystem {
23
// functions
24
// NOLINTBEGIN
25
MCNAPI
void
checkAndAddFloatRequest(
26
::StrictEntityContext
const
& entity,
27
::StateVectorComponent
const
& stateVectorComponent,
28
::BuoyancyComponent
& buoyancyComponent,
29
::EntityModifier<::BuoyancyFloatRequestComponent>
& mod,
30
::IConstBlockSource
const
& region
31
);
32
33
MCNAPI
void
registerSystems(
::EntitySystems
& systemRegistry);
34
35
MCNAPI
void
tickBuoyancyFloatSystem(
36
::ViewT
<
37
::StrictEntityContext
,
38
::BuoyancyComponent
,
39
::BuoyancyFloatRequestComponent
,
40
::StateVectorComponent
,
41
::ActorDataFlagComponent
> view,
42
::OptionalGlobal<::BaseGameVersionComponent const>
baseGameVersion
43
);
44
// NOLINTEND
45
46
}
// namespace BuoyancySystem
BuoyancyComponent
Definition
BuoyancyComponent.h:13
EntityModifier
Definition
EntityModifier.h:6
EntitySystems
Definition
EntitySystems.h:24
IConstBlockSource
Definition
IConstBlockSource.h:25
OptionalGlobal
Definition
OptionalGlobal.h:6
StrictEntityContext
Definition
StrictEntityContext.h:8
ViewT
Definition
ViewT.h:6
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:9
BaseGameVersionComponent
Definition
BaseGameVersionComponent.h:8
BuoyancyFloatRequestComponent
Definition
BuoyancyFloatRequestComponent.h:5
StateVectorComponent
Definition
StateVectorComponent.h:8
src-server
mc
entity
systems
BuoyancySystem.h
Generated on Tue Nov 25 2025 04:00:59 for LeviLamina by
1.12.0