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 // member functions
72 // NOLINTBEGIN
73 MCAPI ScatteredFeaturePiece(int west, int floor, int north, int width, int height, int depth);
74
75 MCAPI bool updateAverageGroundHeight(::BlockSource& region, ::BoundingBox const& chunkBB, int offset);
76
77 MCAPI bool
78 updateHeightPositionToLowestGroundHeight(::BlockSource& region, ::BoundingBox const& chunkBB, int offset);
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCAPI void* $ctor(int west, int floor, int north, int width, int height, int depth);
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockSource.h:73
Definition Block.h:69
Definition BoundingBox.h:13
static MCAPI void ** $vftable()
Definition StructurePiece.h:21
Definition ScatteredFeaturePiece.h:23