LeviLamina
Loading...
Searching...
No Matches
SculkCatalystBlockActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/events/gameevents/GameEventListener.h"
7#include "mc/world/events/gameevents/PositionSource.h"
8#include "mc/world/level/block/SculkSpreader.h"
9#include "mc/world/level/block/actor/BlockActor.h"
10#include "mc/world/level/block/actor/BlockActorType.h"
11
12// auto generated forward declare list
13// clang-format off
14class Actor;
15class BlockPos;
16class BlockSource;
17class CompoundTag;
18class DataLoadHelper;
19class GameEvent;
20class ILevel;
21class Level;
22class SaveContext;
23struct GameEventContext;
24// clang-format on
25
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 80, ::std::optional<::gsl::final_action<::std::function<void()>>>> mListenerRegistration;
31 ::ll::TypedStorage<8, 24, ::GameEvents::PositionSource> mPositionSource;
32 ::ll::TypedStorage<8, 64, ::SculkSpreader> mSculkSpreader;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 2
43 virtual bool save(::CompoundTag& tag, ::SaveContext const& saveContext) const /*override*/;
44
45 // vIndex: 1
46 virtual void load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
47
48 // vIndex: 8
49 virtual void tick(::BlockSource& region) /*override*/;
50
51 // vIndex: 14
52 virtual void onRemoved(::BlockSource& region) /*override*/;
53
54 // vIndex: 1
55 virtual void handleGameEvent(
56 ::GameEvent const& gameEvent,
57 ::GameEventContext const& gameEventContext,
58 ::BlockSource& region
59 ) /*override*/;
60
61 // vIndex: 2
62 virtual ::GameEvents::PositionSource const& getPositionSource() const /*override*/;
63
64 // vIndex: 3
65 virtual uint getRange() const /*override*/;
66
67 // vIndex: 4
68 virtual ::GameEventListener::DeliveryMode getDeliveryMode() const /*override*/;
69
70 // vIndex: 0
71 virtual ~SculkCatalystBlockActor() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCAPI explicit SculkCatalystBlockActor(::BlockPos const& pos);
78
79 MCAPI void _tryConsumeOnDeathExperience(::Level& level, ::Actor& actor);
80 // NOLINTEND
81
82public:
83 // static functions
84 // NOLINTBEGIN
85 MCAPI static void _trySendItSpreadsEventPacket(::Actor& actor);
86 // NOLINTEND
87
88public:
89 // static variables
90 // NOLINTBEGIN
91 MCAPI static ::BlockActorType const& TypeId();
92
93 MCAPI static ::std::string const& TypeString();
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCAPI void* $ctor(::BlockPos const& pos);
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105 MCAPI bool $save(::CompoundTag& tag, ::SaveContext const& saveContext) const;
106
107 MCAPI void $load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
108
109 MCAPI void $tick(::BlockSource& region);
110
111 MCAPI void $onRemoved(::BlockSource& region);
112
113 MCAPI void
114 $handleGameEvent(::GameEvent const& gameEvent, ::GameEventContext const& gameEventContext, ::BlockSource& region);
115
116 MCFOLD ::GameEvents::PositionSource const& $getPositionSource() const;
117
118 MCFOLD uint $getRange() const;
119
120 MCFOLD ::GameEventListener::DeliveryMode $getDeliveryMode() const;
121 // NOLINTEND
122
123public:
124 // vftables
125 // NOLINTBEGIN
126 MCNAPI static void** $vftableForBlockActor();
127
128 MCNAPI static void** $vftableForGameEventListener();
129 // NOLINTEND
130};
Definition Actor.h:103
Definition BlockActor.h:32
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition GameEventListener.h:13
Definition GameEvent.h:8
Definition ILevel.h:205
Definition Level.h:238
Definition SaveContext.h:5
Definition SculkCatalystBlockActor.h:26
static MCAPI void ** $vftableForGameEventListener()
static MCAPI void ** $vftableForBlockActor()
Definition GameEventContext.h:14