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
16public:
17 // ScatteredFeaturePiece inner types declare
18 // clang-format off
19 struct LocalRegistry;
20 // clang-format on
21
22 // ScatteredFeaturePiece inner types define
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&);
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
69
70public:
71 // virtual functions
72 // NOLINTBEGIN
73 // vIndex: 0
74 virtual ~ScatteredFeaturePiece() /*override*/;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI ScatteredFeaturePiece(int west, int floor, int north, int width, int height, int depth);
81
82 MCAPI bool updateAverageGroundHeight(::BlockSource& region, ::BoundingBox const& chunkBB, int offset);
83
84 MCAPI bool
85 updateHeightPositionToLowestGroundHeight(::BlockSource& region, ::BoundingBox const& chunkBB, int offset);
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCAPI void* $ctor(int west, int floor, int north, int width, int height, int depth);
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCFOLD void $dtor();
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
Definition BlockSource.h:66
Definition Block.h:37
Definition BoundingBox.h:13
Definition ScatteredFeaturePiece.h:15
static MCAPI void ** $vftable()
Definition StructurePiece.h:18
Definition ScatteredFeaturePiece.h:23