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
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 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 3
34 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
35
36 // vIndex: 4
37 virtual bool getNearestGeneratedFeature(
38 ::Dimension& dimension,
39 ::BiomeSource const& biomeSource,
40 ::BlockPos const& origin,
41 ::BlockPos& pos,
42 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
43 bool mustBeInNewChunks,
44 ::std::optional<::HashedString> const& biomeTag
45 ) /*override*/;
46
47 // vIndex: 6
48 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
49 ::Dimension& generator,
50 ::BiomeSource const&,
51 ::Random& random,
52 ::ChunkPos const& lc,
54 ) /*override*/;
55
56 // vIndex: 5
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
66 // vIndex: 0
67 virtual ~BuriedTreasureFeature() /*override*/ = default;
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
74
75 MCAPI bool $getNearestGeneratedFeature(
76 ::Dimension& dimension,
77 ::BiomeSource const& biomeSource,
78 ::BlockPos const& origin,
79 ::BlockPos& pos,
80 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
81 bool mustBeInNewChunks,
82 ::std::optional<::HashedString> const& biomeTag
83 );
84
85 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
86 ::Dimension& generator,
87 ::BiomeSource const&,
88 ::Random& random,
89 ::ChunkPos const& lc,
91 );
92
93 MCAPI bool $isFeatureChunk(
94 ::BiomeSource const& biomeSource,
95 ::Random& random,
96 ::ChunkPos const& pos,
97 uint levelSeed,
98 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
99 ::Dimension const&
100 );
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCAPI static void** $vftable();
107 // NOLINTEND
108};
Definition BiomeSource.h:20
Definition BlockPos.h:17
Definition BuriedTreasureFeature.h:21
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
Definition StructureFeature.h:24
Definition StructureStart.h:15
Definition BiomeIdType.h:8