Skip to content
LeviMC
English
AutoLightDark
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
21class PillagerOutpostFeature : public ::StructureFeature {
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
32 PillagerOutpostFeature();
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 bool isFeatureChunk(
50 ::BiomeSource const& biomeSource,
51 ::Random& random,
52 ::ChunkPos const& lc,
53 uint levelSeed,
54 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
55 ::Dimension const&
56 ) /*override*/;
57
58 virtual bool shouldAddHardcodedSpawnAreas() const /*override*/;
59
60 virtual bool shouldPostProcessMobs() const /*override*/;
61
62 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
63 ::Dimension& generator,
64 ::BiomeSource const&,
65 ::Random& random,
66 ::ChunkPos const& lc,
68 ) /*override*/;
69 // NOLINTEND
70
71public:
72 // member functions
73 // NOLINTBEGIN
74 MCAPI explicit PillagerOutpostFeature(uint seed);
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor(uint seed);
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCNAPI ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
87
89 ::Dimension& dimension,
90 ::BiomeSource const& biomeSource,
91 ::BlockPos const& origin,
92 ::BlockPos& pos,
93 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
94 bool mustBeInNewChunks,
95 ::std::optional<::HashedString> const& biomeTag
96 );
97
98 MCAPI bool $isFeatureChunk(
99 ::BiomeSource const& biomeSource,
100 ::Random& random,
101 ::ChunkPos const& lc,
102 uint levelSeed,
103 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
104 ::Dimension const&
105 );
106
107 MCNAPI bool $shouldAddHardcodedSpawnAreas() const;
108
109 MCNAPI bool $shouldPostProcessMobs() const;
110
111 MCNAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
112 ::Dimension& generator,
113 ::BiomeSource const&,
114 ::Random& random,
115 ::ChunkPos const& lc,
117 );
118
119
120 // NOLINTEND
121};
Definition BiomeSource.h:23
Definition BlockPos.h:14
Definition ChunkPos.h:13
Definition Dimension.h:86
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
MCAPI ::std::unique_ptr<::StructureStart > $createStructureStart(::Dimension &generator, ::BiomeSource const &, ::Random &random, ::ChunkPos const &lc, ::IPreliminarySurfaceProvider const &)
MCAPI bool $shouldAddHardcodedSpawnAreas() const
MCAPI ::gsl::span<::BiomeIdType const > $getRequiredBiomes() const
MCAPI bool $getNearestGeneratedFeature(::Dimension &dimension, ::BiomeSource const &biomeSource, ::BlockPos const &origin, ::BlockPos &pos, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, bool mustBeInNewChunks, ::std::optional<::HashedString > const &biomeTag)
MCAPI bool $shouldPostProcessMobs() const
Definition Random.h:10
Definition StructureStart.h:15
Definition BiomeIdType.h:8