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