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 // prevent constructor by default
33 RuinedPortalFeature();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
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 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
49 ::Dimension& dimension,
50 ::BiomeSource const& biomeSource,
51 ::Random& cp,
52 ::ChunkPos const& preliminarySurfaceLevel,
54 ) /*override*/;
55
56 virtual bool isFeatureChunk(
57 ::BiomeSource const& random,
58 ::Random& pos,
59 ::ChunkPos const& levelSeed,
60 uint,
62 ::Dimension const&
63 ) /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI RuinedPortalFeature(uint seed, bool nether);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(uint seed, bool nether);
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool $getNearestGeneratedFeature(
82 ::Dimension& dimension,
83 ::BiomeSource const& biomeSource,
84 ::BlockPos const& origin,
85 ::BlockPos& pos,
86 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
87 bool mustBeInNewChunks,
88 ::std::optional<::HashedString> const& biomeTag
89 );
90
91 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
92 ::Dimension& dimension,
93 ::BiomeSource const& biomeSource,
94 ::Random& cp,
95 ::ChunkPos const& preliminarySurfaceLevel,
97 );
98
99 MCAPI bool $isFeatureChunk(
100 ::BiomeSource const& random,
101 ::Random& pos,
102 ::ChunkPos const& levelSeed,
103 uint,
105 ::Dimension const&
106 );
107
108
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCAPI static void** $vftable();
115 // NOLINTEND
116};
Definition BiomeSource.h:24
Definition BlockPos.h:21
Definition ChunkPos.h:11
Definition Dimension.h:89
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
static MCAPI void ** $vftable()
Definition StructureStart.h:15