Skip to content
LeviMC
English
AutoLightDark
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 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI bool $getNearestGeneratedFeature(
66 ::Dimension& dimension,
67 ::BiomeSource const& biomeSource,
68 ::BlockPos const& origin,
69 ::BlockPos& pos,
70 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
71 bool mustBeInNewChunks,
72 ::std::optional<::HashedString> const& biomeTag
73 );
74
75 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
76 ::Dimension& dimension,
77 ::BiomeSource const& biomeSource,
78 ::Random&,
79 ::ChunkPos const& cp,
80 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
81 );
82
83 MCAPI bool $isFeatureChunk(
84 ::BiomeSource const&,
85 ::Random& random,
86 ::ChunkPos const& pos,
87 uint levelSeed,
89 ::Dimension const&
90 );
91
92
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCNAPI static void** $vftable();
99 // NOLINTEND
100};
Definition BiomeSource.h:23
Definition BlockPos.h:14
Definition ChunkPos.h:13
Definition Dimension.h:86
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
Definition RuinedPortalFeature.h:20
static MCAPI void ** $vftable()
Definition StructureStart.h:15