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