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
50 isFeatureChunk(::BiomeSource const& biomeSource, ::Random& random, ::ChunkPos const& chunkPos, uint levelSeed, ::IPreliminarySurfaceProvider const&, ::Dimension const&) /*override*/
51 ;
52
53 // vIndex: 2
54 virtual bool shouldPostProcessMobs() const /*override*/;
55
56 // vIndex: 5
57 virtual ::std::unique_ptr<::StructureStart>
58 createStructureStart(::Dimension& generator, ::BiomeSource const& biomeSource, ::Random& random, ::ChunkPos const& chunkPos, ::IPreliminarySurfaceProvider const&) /*override*/
59 ;
60
61 // vIndex: 0
62 virtual ~BastionFeature() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI BastionFeature(uint seed, ::BaseGameVersion const& baseGameVersion);
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(uint seed, ::BaseGameVersion const& baseGameVersion);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI bool $getNearestGeneratedFeature(
87 ::Dimension& dimension,
88 ::BiomeSource const& biomeSource,
89 ::BlockPos const& origin,
90 ::BlockPos& pos,
91 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
92 bool mustBeInNewChunks,
93 ::std::optional<::HashedString> const& biomeTag
94 );
95
96 MCAPI bool
97 $isFeatureChunk(::BiomeSource const& biomeSource, ::Random& random, ::ChunkPos const& chunkPos, uint levelSeed, ::IPreliminarySurfaceProvider const&, ::Dimension const&);
98
99 MCFOLD bool $shouldPostProcessMobs() const;
100
101 MCAPI ::std::unique_ptr<::StructureStart>
102 $createStructureStart(::Dimension& generator, ::BiomeSource const& biomeSource, ::Random& random, ::ChunkPos const& chunkPos, ::IPreliminarySurfaceProvider const&);
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCAPI static void** $vftable();
109 // NOLINTEND
110};
Definition BaseGameVersion.h:13
Definition BastionFeature.h:21
Definition BiomeSource.h:16
Definition BlockPos.h:18
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:16
Definition StructureFeature.h:23
Definition StructureStart.h:13
Definition Alias.h:14