LeviLamina
Loading...
Searching...
No Matches
ChunkGeneratorStructureState.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/level/LevelSeed64.h"
5
6// auto generated forward declare list
7// clang-format off
8class BiomeSource;
9class BlockPos;
10class Dimension;
11class HashedString;
12namespace br::worldgen { class StructureSetRegistry; }
13namespace br::worldgen { struct StructureSet; }
14// clang-format on
15
16namespace br::worldgen {
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, int64> mLevelSeed;
23 ::ll::TypedStorage<8, 8, int64> mRingsSeed;
24 ::ll::TypedStorage<8, 8, uint64> mMaxStructureCount;
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureSet const>>> mPossibleStructures;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ::std::optional<::BlockPos> findNearestStructureFeature(
32 ::Dimension& dimension,
33 ::HashedString feature,
34 ::BlockPos const& origin,
35 ::BiomeSource const& biomeSource,
36 bool mustBeInNewChunks
37 ) const;
38
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static ::br::worldgen::ChunkGeneratorStructureState createFlat(
46 int64 levelSeed,
47 ::BiomeSource const& biomeSource,
48 ::std::vector<::std::shared_ptr<::br::worldgen::StructureSet const>> structureOverrides
49 );
50
51 MCAPI static ::br::worldgen::ChunkGeneratorStructureState createNormal(
52 int64 levelSeed,
53 ::BiomeSource const& biomeSource,
54 ::br::worldgen::StructureSetRegistry const& allStructures
55 );
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
64
65} // namespace br::worldgen
Definition BiomeSource.h:20
Definition BlockPos.h:19
Definition Dimension.h:85
Definition HashedString.h:5
Definition StructureSetRegistry.h:12
Definition ChunkGeneratorStructureState.h:18
Definition StructureSet.h:16