LeviLamina
Loading...
Searching...
No Matches
WoodlandMansionFeature.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> mFeatureSpacing;
26 ::ll::TypedStorage<4, 4, int> mMinFeatureSeparation;
27 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> mAllowedBiomes;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 3
38 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
39
40 // vIndex: 4
41 virtual bool getNearestGeneratedFeature(
42 ::Dimension& dimension,
43 ::BiomeSource const& biomeSource,
44 ::BlockPos const& origin,
45 ::BlockPos& pos,
46 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
47 bool mustBeInNewChunks,
48 ::std::optional<::HashedString> const& biomeTag
49 ) /*override*/;
50
51 // vIndex: 2
52 virtual bool shouldPostProcessMobs() const /*override*/;
53
54 // vIndex: 5
55 virtual bool isFeatureChunk(
56 ::BiomeSource const& biomeSource,
57 ::Random& random,
58 ::ChunkPos const& lc,
59 uint levelSeed,
60 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
61 ::Dimension const&
62 ) /*override*/;
63
64 // vIndex: 6
65 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
66 ::Dimension& dimension,
67 ::BiomeSource const&,
68 ::Random& random,
69 ::ChunkPos const& lc,
71 ) /*override*/;
72
73 // vIndex: 0
74 virtual ~WoodlandMansionFeature() /*override*/ = default;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI explicit WoodlandMansionFeature(uint seed);
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
86 MCAPI void* $ctor(uint seed);
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
93
94 MCAPI bool $getNearestGeneratedFeature(
95 ::Dimension& dimension,
96 ::BiomeSource const& biomeSource,
97 ::BlockPos const& origin,
98 ::BlockPos& pos,
99 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
100 bool mustBeInNewChunks,
101 ::std::optional<::HashedString> const& biomeTag
102 );
103
104 MCFOLD bool $shouldPostProcessMobs() const;
105
106 MCAPI bool $isFeatureChunk(
107 ::BiomeSource const& biomeSource,
108 ::Random& random,
109 ::ChunkPos const& lc,
110 uint levelSeed,
111 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
112 ::Dimension const&
113 );
114
115 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
116 ::Dimension& dimension,
117 ::BiomeSource const&,
118 ::Random& random,
119 ::ChunkPos const& lc,
121 );
122 // NOLINTEND
123
124public:
125 // vftables
126 // NOLINTBEGIN
127 MCAPI static void** $vftable();
128 // NOLINTEND
129};
Definition BiomeSource.h:20
Definition BlockPos.h:17
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 WoodlandMansionFeature.h:21
Definition BiomeIdType.h:8