LeviLamina
Loading...
Searching...
No Matches
BastionFeature.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 BaseGameVersion;
11class BiomeSource;
12class BlockPos;
13class ChunkPos;
14class Dimension;
15class HashedString;
17class Random;
18class StructureStart;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 BastionFeature& operator=(BastionFeature const&);
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 3
38 virtual bool getNearestGeneratedFeature(
39 ::Dimension& dimension,
40 ::BiomeSource const& biomeSource,
41 ::BlockPos const& origin,
42 ::BlockPos& pos,
43 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
44 bool mustBeInNewChunks,
45 ::std::optional<::HashedString> const& biomeTag
46 ) /*override*/;
47
48 // vIndex: 4
49 virtual bool isFeatureChunk(
50 ::BiomeSource const& biomeSource,
51 ::Random& random,
52 ::ChunkPos const& chunkPos,
53 uint levelSeed,
55 ::Dimension const&
56 ) /*override*/;
57
58 // vIndex: 2
59 virtual bool shouldPostProcessMobs() const /*override*/;
60
61 // vIndex: 5
62 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
63 ::Dimension& generator,
64 ::BiomeSource const& biomeSource,
65 ::Random& random,
66 ::ChunkPos const& chunkPos,
68 ) /*override*/;
69
70 // vIndex: 0
71 virtual ~BastionFeature() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCNAPI BastionFeature(uint seed, ::BaseGameVersion const& baseGameVersion);
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCNAPI void* $ctor(uint seed, ::BaseGameVersion const& baseGameVersion);
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
90 ::Dimension& dimension,
91 ::BiomeSource const& biomeSource,
92 ::BlockPos const& origin,
93 ::BlockPos& pos,
94 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
95 bool mustBeInNewChunks,
96 ::std::optional<::HashedString> const& biomeTag
97 );
98
99 MCNAPI bool $isFeatureChunk(
100 ::BiomeSource const& biomeSource,
101 ::Random& random,
102 ::ChunkPos const& chunkPos,
103 uint levelSeed,
105 ::Dimension const&
106 );
107
108 MCNAPI bool $shouldPostProcessMobs() const;
109
110 MCNAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
111 ::Dimension& generator,
112 ::BiomeSource const& biomeSource,
113 ::Random& random,
114 ::ChunkPos const& chunkPos,
116 );
117 // NOLINTEND
118
119public:
120 // vftables
121 // NOLINTBEGIN
122 MCNAPI static void** $vftable();
123 // NOLINTEND
124};
Definition BaseGameVersion.h:8
Definition BastionFeature.h:21
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 $isFeatureChunk(::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &chunkPos, uint levelSeed, ::IPreliminarySurfaceProvider const &, ::Dimension const &)
MCAPI ::std::unique_ptr<::StructureStart > $createStructureStart(::Dimension &generator, ::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &chunkPos, ::IPreliminarySurfaceProvider const &)
MCAPI bool $shouldPostProcessMobs() const
MCAPI BastionFeature(uint seed, ::BaseGameVersion const &baseGameVersion)
static MCAPI void ** $vftable()
MCAPI void * $ctor(uint seed, ::BaseGameVersion const &baseGameVersion)
Definition BiomeSource.h:19
Definition BlockPos.h:18
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:11
Definition StructureFeature.h:23
Definition StructureStart.h:15
Definition Alias.h:14