Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LodestoneBlockActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/PositionTrackingId.h"
7#include "mc/world/level/block/actor/VanillaBlockActor.h"
8
9// auto generated forward declare list
10// clang-format off
12class BlockSource;
13class CompoundTag;
14class DataLoadHelper;
15class ILevel;
16class SaveContext;
17// clang-format on
18
19class LodestoneBlockActor : public ::VanillaBlockActor {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::PositionTrackingId> mTrackingDBHandle;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual void tick(::BlockSource& region) /*override*/;
30
31 virtual void onRemoved(::BlockSource& region) /*override*/;
32
33 virtual void load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
34
35 virtual bool save(::CompoundTag& tag, ::SaveContext const& saveContext) const /*override*/;
36
37 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(::BlockSource& region) /*override*/;
38
39 virtual void _onUpdatePacket(::CompoundTag const& data, ::BlockSource& region) /*override*/;
40 // NOLINTEND
41
42public:
43 // static variables
44 // NOLINTBEGIN
45 MCNAPI static ::std::string const& sTagName_Handle();
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCNAPI void $tick(::BlockSource& region);
52
53 MCNAPI void $onRemoved(::BlockSource& region);
54
55 MCNAPI void $load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
56
57 MCNAPI bool $save(::CompoundTag& tag, ::SaveContext const& saveContext) const;
58
59 MCNAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(::BlockSource& region);
60
61 MCNAPI void $_onUpdatePacket(::CompoundTag const& data, ::BlockSource& region);
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
70
72
73 MCNAPI static void** $vftableForBlockActor();
74
76 // NOLINTEND
77};
Definition BlockActorDataPacket.h:19
Definition BlockSource.h:72
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ILevel.h:223
Definition LodestoneBlockActor.h:19
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
MCAPI void $onRemoved(::BlockSource &region)
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
static MCAPI ::std::string const & sTagName_Handle()
MCAPI void $tick(::BlockSource &region)
MCAPI ::std::unique_ptr<::BlockActorDataPacket > $_getUpdatePacket(::BlockSource &region)
static MCAPI void ** $vftableForBlockActor()
MCAPI void $_onUpdatePacket(::CompoundTag const &data, ::BlockSource &region)
Definition SaveContext.h:5