LeviLamina
Loading...
Searching...
No Matches
BuriedTreasureFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/StructureFeature.h"
7
8// auto generated forward declare list
9// clang-format off
10class BiomeSource;
11class BlockPos;
12class ChunkPos;
13class Dimension;
14class HashedString;
16class Random;
17class StructureStart;
18struct BiomeIdType;
19// clang-format on
20
21class BuriedTreasureFeature : public ::StructureFeature {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mSpacing;
26 ::ll::TypedStorage<4, 4, int> mMinSeparation;
27 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> mAllowedBiomes;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 BuriedTreasureFeature();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
38
39 virtual bool getNearestGeneratedFeature(
40 ::Dimension& dimension,
41 ::BiomeSource const& biomeSource,
42 ::BlockPos const& origin,
43 ::BlockPos& pos,
44 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
45 bool mustBeInNewChunks,
46 ::std::optional<::HashedString> const& biomeTag
47 ) /*override*/;
48
49 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
50 ::Dimension& generator,
51 ::BiomeSource const& random,
52 ::Random& lc,
53 ::ChunkPos const&,
55 ) /*override*/;
56
57 virtual bool isFeatureChunk(
58 ::BiomeSource const& biomeSource,
59 ::Random& random,
60 ::ChunkPos const& pos,
61 uint levelSeed,
62 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
63 ::Dimension const&
64 ) /*override*/;
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
70 MCAPI explicit BuriedTreasureFeature(uint seed);
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor(uint seed);
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
83
84 MCAPI bool $getNearestGeneratedFeature(
85 ::Dimension& dimension,
86 ::BiomeSource const& biomeSource,
87 ::BlockPos const& origin,
88 ::BlockPos& pos,
89 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
90 bool mustBeInNewChunks,
91 ::std::optional<::HashedString> const& biomeTag
92 );
93
94 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
95 ::Dimension& generator,
96 ::BiomeSource const& random,
97 ::Random& lc,
98 ::ChunkPos const&,
100 );
101
102 MCAPI bool $isFeatureChunk(
103 ::BiomeSource const& biomeSource,
104 ::Random& random,
105 ::ChunkPos const& pos,
106 uint levelSeed,
107 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
108 ::Dimension const&
109 );
110
111
112 // NOLINTEND
113
114public:
115 // vftables
116 // NOLINTBEGIN
117 MCAPI static void** $vftable();
118 // NOLINTEND
119};
Definition BiomeSource.h:24
Definition BlockPos.h:21
Definition ChunkPos.h:11
Definition Dimension.h:89
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
static MCAPI void ** $vftable()
Definition StructureStart.h:15
Definition BiomeIdType.h:8