LeviLamina
Loading...
Searching...
No Matches
MobSuffocationSystemImpl.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/AddRemove.h"
9#include "mc/deps/ecs/strict/EntityFactoryT.h"
10#include "mc/deps/ecs/strict/EntityModifier.h"
11#include "mc/deps/ecs/strict/Filter.h"
12#include "mc/deps/ecs/strict/GlobalRead.h"
13#include "mc/deps/ecs/strict/GlobalWrite.h"
14#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
15#include "mc/deps/ecs/strict/Include.h"
16#include "mc/deps/ecs/strict/Read.h"
17#include "mc/deps/ecs/strict/StrictExecutionContext.h"
18#include "mc/deps/ecs/strict/Write.h"
19
20// auto generated forward declare list
21// clang-format off
29struct MobFlagComponent;
31struct OffsetsComponent;
34struct PlayerComponent;
38struct VehicleComponent;
39// clang-format on
40
42: public ::IStrictTickingSystem<::StrictExecutionContext<
43 ::Filter<::MobFlagComponent, ::ActorMovementTickNeededComponent, ::PlayerComponent, ::PassengerComponent>,
44 ::Read<
45 ::StateVectorComponent,
46 ::AABBShapeComponent,
47 ::SynchedActorDataComponent,
48 ::OffsetsComponent,
49 ::VehicleComponent,
50 ::ActorRotationComponent,
51 ::VanillaOffsetComponent,
52 ::PassengerRenderingRidingOffsetComponent>,
53 ::Write<::ActorInWallDetectionComponent>,
54 ::AddRemove<::MobIsSuffocatingFlagComponent>,
55 ::GlobalRead<>,
56 ::GlobalWrite<>,
57 ::EntityFactoryT<>>> {
58public:
59 // virtual functions
60 // NOLINTBEGIN
61 virtual void tick(
64 ::Read<
77 ::EntityFactoryT<>>& executionContext
78 ) /*override*/;
79 // NOLINTEND
80
81public:
82 // static functions
83 // NOLINTBEGIN
84 MCAPI static bool _isShulkerInWall(
85 ::StateVectorComponent const& stateVectorComponent,
86 ::AABBShapeComponent const& aabbShapeComponent,
87 ::SynchedActorDataComponent const& synchedActorDataComponent,
88 ::OffsetsComponent const& offsetsComponent,
89 ::IConstBlockSource const& region
90 );
91
92 MCAPI static void _tickCheckSuffocation(
93 ::StrictEntityContext const& entity,
94 ::ActorInWallDetectionComponent const& actorInWallDetectionComponent,
95 ::StateVectorComponent const& stateVectorComponent,
96 ::AABBShapeComponent const& aabbShapeComponent,
97 ::SynchedActorDataComponent const& synchedActorDataComponent,
98 ::OffsetsComponent const& offsetsComponent,
100 ::GetAttachPositionViews const& getAttachPosViews,
103 ::IConstBlockSource const& region
104 );
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCAPI void $tick(
113 ::Read<
126 ::EntityFactoryT<>>& executionContext
127 );
128
129
130 // NOLINTEND
131
132public:
133 // vftables
134 // NOLINTBEGIN
135 MCNAPI static void** $vftable();
136 // NOLINTEND
137};
Definition EntityModifier.h:6
Definition IConstBlockSource.h:23
Definition IStrictTickingSystem.h:6
Definition MobSuffocationSystemImpl.h:57
static MCAPI void ** $vftable()
Definition Optional.h:8
Definition StrictEntityContext.h:14
Definition StrictExecutionContext.h:6
Definition ViewT.h:6
Definition AABBShapeComponent.h:9
Definition ActorInWallDetectionComponent.h:5
Definition ActorMovementTickNeededComponent.h:5
Definition ActorRotationComponent.h:8
Definition AddRemove.h:6
Definition EntityFactoryT.h:6
Definition Filter.h:6
Definition GetAttachPositionViews.h:5
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition Include.h:6
Definition MobFlagComponent.h:5
Definition MobIsSuffocatingFlagComponent.h:5
Definition OffsetsComponent.h:8
Definition PassengerComponent.h:8
Definition PassengerRenderingRidingOffsetComponent.h:8
Definition PlayerComponent.h:5
Definition Read.h:6
Definition StateVectorComponent.h:8
Definition SynchedActorDataComponent.h:8
Definition VanillaOffsetComponent.h:8
Definition VehicleComponent.h:10
Definition Write.h:6