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