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