LeviLamina
Loading...
Searching...
No Matches
RuinedPortalFeature.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
20class RuinedPortalFeature : public ::StructureFeature {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<1, 1, bool const> mNether;
25 ::ll::TypedStorage<4, 4, int const> mOverworldSpacing;
26 ::ll::TypedStorage<4, 4, int const> mOverworldMinSeparation;
27 ::ll::TypedStorage<4, 4, int const> mNetherSpacing;
28 ::ll::TypedStorage<4, 4, int const> mNetherMinSeparation;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual bool getNearestGeneratedFeature(
35 ::Dimension& dimension,
36 ::BiomeSource const& biomeSource,
37 ::BlockPos const& origin,
38 ::BlockPos& pos,
39 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
40 bool mustBeInNewChunks,
41 ::std::optional<::HashedString> const& biomeTag
42 ) /*override*/;
43
44 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
45 ::Dimension& dimension,
46 ::BiomeSource const& biomeSource,
47 ::Random&,
48 ::ChunkPos const& cp,
49 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
50 ) /*override*/;
51
52 virtual bool isFeatureChunk(
53 ::BiomeSource const&,
54 ::Random& random,
55 ::ChunkPos const& pos,
56 uint levelSeed,
58 ::Dimension const&
59 ) /*override*/;
60
61 virtual ~RuinedPortalFeature() /*override*/ = default;
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI bool $getNearestGeneratedFeature(
68 ::Dimension& dimension,
69 ::BiomeSource const& biomeSource,
70 ::BlockPos const& origin,
71 ::BlockPos& pos,
72 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
73 bool mustBeInNewChunks,
74 ::std::optional<::HashedString> const& biomeTag
75 );
76
77 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
78 ::Dimension& dimension,
79 ::BiomeSource const& biomeSource,
80 ::Random&,
81 ::ChunkPos const& cp,
82 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
83 );
84
85 MCAPI bool $isFeatureChunk(
86 ::BiomeSource const&,
87 ::Random& random,
88 ::ChunkPos const& pos,
89 uint levelSeed,
91 ::Dimension const&
92 );
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
Definition BiomeSource.h:20
Definition BlockPos.h:19
Definition ChunkPos.h:11
Definition Dimension.h:85
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
Definition RuinedPortalFeature.h:20
static MCAPI void ** $vftable()
Definition StructureStart.h:15