LeviLamina
Loading...
Searching...
No Matches
PillagerOutpostFeature.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 const> OUTPOST_SPACING;
26 ::ll::TypedStorage<4, 4, int const> MIN_OUTPOST_SEPARATION;
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: 5
52 virtual bool isFeatureChunk(
53 ::BiomeSource const& biomeSource,
54 ::Random& random,
55 ::ChunkPos const& lc,
56 uint levelSeed,
57 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
58 ::Dimension const&
59 ) /*override*/;
60
61 // vIndex: 1
62 virtual bool shouldAddHardcodedSpawnAreas() const /*override*/;
63
64 // vIndex: 2
65 virtual bool shouldPostProcessMobs() const /*override*/;
66
67 // vIndex: 6
68 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
69 ::Dimension& generator,
70 ::BiomeSource const&,
71 ::Random& random,
72 ::ChunkPos const& lc,
74 ) /*override*/;
75
76 // vIndex: 0
77 virtual ~PillagerOutpostFeature() /*override*/ = default;
78 // NOLINTEND
79
80public:
81 // member functions
82 // NOLINTBEGIN
83 MCAPI explicit PillagerOutpostFeature(uint seed);
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCAPI void* $ctor(uint seed);
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
96
97 MCAPI bool $getNearestGeneratedFeature(
98 ::Dimension& dimension,
99 ::BiomeSource const& biomeSource,
100 ::BlockPos const& origin,
101 ::BlockPos& pos,
102 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
103 bool mustBeInNewChunks,
104 ::std::optional<::HashedString> const& biomeTag
105 );
106
107 MCAPI bool $isFeatureChunk(
108 ::BiomeSource const& biomeSource,
109 ::Random& random,
110 ::ChunkPos const& lc,
111 uint levelSeed,
112 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
113 ::Dimension const&
114 );
115
116 MCFOLD bool $shouldAddHardcodedSpawnAreas() const;
117
118 MCFOLD bool $shouldPostProcessMobs() const;
119
120 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
121 ::Dimension& generator,
122 ::BiomeSource const&,
123 ::Random& random,
124 ::ChunkPos const& lc,
126 );
127 // NOLINTEND
128
129public:
130 // vftables
131 // NOLINTBEGIN
132 MCAPI static void** $vftable();
133 // NOLINTEND
134};
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 PillagerOutpostFeature.h:21
Definition Random.h:10
Definition StructureFeature.h:24
Definition StructureStart.h:15
Definition BiomeIdType.h:8