LeviLamina
Loading...
Searching...
No Matches
JigsawStructurePostprocessAction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7#include "mc/world/level/chunk/IRequestAction.h"
8#include "mc/world/level/levelgen/structure/BoundingBox.h"
9#include "mc/world/level/levelgen/structure/structurepools/JigsawReplacement.h"
10
11// auto generated forward declare list
12// clang-format off
13class CompoundTag;
14class Dimension;
16class ServerLevel;
17namespace br::worldgen { class PoolElementStructureSection; }
18namespace cereal { struct ReflectionCtx; }
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::br::worldgen::PoolElementStructureSection>> mSection;
26 ::ll::TypedStorage<4, 12, ::BlockPos> mOriginPos;
27 ::ll::TypedStorage<4, 24, ::BoundingBox> mChunkBounds;
28 ::ll::TypedStorage<1, 1, ::br::worldgen::JigsawReplacement> mJigsawReplacement;
29 ::ll::TypedStorage<1, 1, bool> mIncludeEntities;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 1
36 virtual void execute(::ServerLevel& level, ::Dimension& dimension) /*override*/;
37
38 // vIndex: 2
39 virtual void serialize(::CompoundTag& tag) /*override*/;
40
41 // vIndex: 0
42 virtual ~JigsawStructurePostprocessAction() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCNAPI static ::std::unique_ptr<::JigsawStructurePostprocessAction>
49 load(::CompoundTag const& tag, ::JigsawStructureElementRegistry const& elementReg);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCNAPI static ::std::unique_ptr<::cereal::ReflectionCtx>& mCerealContext();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCNAPI void $execute(::ServerLevel& level, ::Dimension& dimension);
62
63 MCNAPI void $serialize(::CompoundTag& tag);
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition IRequestAction.h:12
Definition JigsawStructureElementRegistry.h:10
Definition JigsawStructurePostprocessAction.h:21
static MCAPI ::std::unique_ptr<::JigsawStructurePostprocessAction > load(::CompoundTag const &tag, ::JigsawStructureElementRegistry const &elementReg)
MCAPI void $execute(::ServerLevel &level, ::Dimension &dimension)
MCAPI void $serialize(::CompoundTag &tag)
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::cereal::ReflectionCtx > & mCerealContext()
Definition ServerLevel.h:54
Definition serialize.h:11