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