LeviLamina
Loading...
Searching...
No Matches
ScatteredFeaturePiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/StructurePiece.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockSource;
12class BoundingBox;
13// clang-format on
14
15class ScatteredFeaturePiece : public ::StructurePiece {
16public:
17 // ScatteredFeaturePiece inner types declare
18 // clang-format off
19 struct LocalRegistry;
20 // clang-format on
21
22 // ScatteredFeaturePiece inner types define
23 struct LocalRegistry {
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::Block const&> mSandstoneStairs;
28 ::ll::TypedStorage<8, 8, ::Block const&> mSandstone;
29 ::ll::TypedStorage<8, 8, ::Block const&> mCutSandstone;
30 ::ll::TypedStorage<8, 8, ::Block const&> mChiseledSandstone;
31 ::ll::TypedStorage<8, 8, ::Block const&> mOrangeHardenedClay;
32 ::ll::TypedStorage<8, 8, ::Block const&> mBlueHardenedClay;
33 ::ll::TypedStorage<8, 8, ::Block const&> mStoneStairs;
34 ::ll::TypedStorage<8, 8, ::Block const&> mOakFence;
35 ::ll::TypedStorage<8, 8, ::Block const&> mSprucePlanks;
36 ::ll::TypedStorage<8, 8, ::Block const&> mLog;
37 ::ll::TypedStorage<8, 8, ::Block const&> mFlowerPot;
38 ::ll::TypedStorage<8, 8, ::Block const&> mRedMushroom;
39 ::ll::TypedStorage<8, 8, ::Block const&> mCraftingTable;
40 ::ll::TypedStorage<8, 8, ::Block const&> mOakStairs;
41 ::ll::TypedStorage<8, 8, ::Block const&> mSpruceStairs;
42 ::ll::TypedStorage<8, 8, ::Block const&> mChiseledStoneBricks;
43 ::ll::TypedStorage<8, 8, ::Block const&> mVine;
44 ::ll::TypedStorage<8, 8, ::Block const&> mMossyCobblestone;
45 ::ll::TypedStorage<8, 8, ::Block const&> mCobblestone;
46 ::ll::TypedStorage<8, 8, ::Block const&> mAirBlock;
47 // NOLINTEND
48
49 public:
50 // prevent constructor by default
51 LocalRegistry& operator=(LocalRegistry const&);
52 LocalRegistry(LocalRegistry const&);
53 LocalRegistry();
54 };
55
56public:
57 // member variables
58 // NOLINTBEGIN
59 ::ll::TypedStorage<4, 4, int> mWidth;
60 ::ll::TypedStorage<4, 4, int> mHeight;
61 ::ll::TypedStorage<4, 4, int> mDepth;
62 ::ll::TypedStorage<4, 4, int> mHeightPosition;
63 ::ll::TypedStorage<8, 160, ::ScatteredFeaturePiece::LocalRegistry> mLocalRegistry;
64 // NOLINTEND
65
66public:
67 // prevent constructor by default
68 ScatteredFeaturePiece();
69
70public:
71 // virtual functions
72 // NOLINTBEGIN
73 virtual ~ScatteredFeaturePiece() /*override*/;
74 // NOLINTEND
75
76public:
77 // member functions
78 // NOLINTBEGIN
79 MCAPI ScatteredFeaturePiece(int west, int floor, int north, int width, int height, int depth);
80
81 MCAPI bool updateAverageGroundHeight(::BlockSource& region, ::BoundingBox const& chunkBB, int offset);
82
83 MCAPI bool
84 updateHeightPositionToLowestGroundHeight(::BlockSource& region, ::BoundingBox const& chunkBB, int offset);
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(int west, int floor, int north, int width, int height, int depth);
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCFOLD void $dtor();
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftable();
103 // NOLINTEND
104};
Definition BlockSource.h:68
Definition Block.h:43
Definition BoundingBox.h:13
static MCAPI void ** $vftable()
Definition StructurePiece.h:18
Definition ScatteredFeaturePiece.h:23