LeviLamina
Loading...
Searching...
No Matches
LakeFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/random/XoroshiroPositionalRandomFactory.h"
7#include "mc/world/level/levelgen/feature/Feature.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class BlockSource;
14class Random;
15// clang-format on
16
17class LakeFeature : public ::Feature {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
22 ::ll::TypedStorage<8, 8, ::Block const&> mEmptyBlock;
23 ::ll::TypedStorage<8, 32, ::std::optional<::XoroshiroPositionalRandomFactory> const>
24 mXoroshiroPositionalRandomFactory;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 LakeFeature& operator=(LakeFeature const&);
30 LakeFeature(LakeFeature const&);
31 LakeFeature();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
37
38 virtual ~LakeFeature() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI LakeFeature(
45 ::Block const& block,
46 ::std::optional<::XoroshiroPositionalRandomFactory> xoroshiroPositionalRandomFactory
47 );
48
49 MCAPI ::Block const*
50 _getSolidBlockAroundLavaLake(::BlockPos blockPos, ::Block const& deepslate, ::Block const& stone) const;
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void*
57 $ctor(::Block const& block, ::std::optional<::XoroshiroPositionalRandomFactory> xoroshiroPositionalRandomFactory);
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCAPI void $dtor();
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
70
71
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition Block.h:43
Definition Feature.h:18
static MCAPI void ** $vftable()
Definition Random.h:10