Skip to content
LeviMC
English
AutoLightDark
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/deps/core/string/HashedString.h"
7#include "mc/world/level/levelgen/feature/Feature.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class BlockSource;
13class Random;
14// clang-format on
15
16class LakeFeature : public ::Feature {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 48, ::HashedString const> mFluidBlock;
21 ::ll::TypedStorage<8, 48, ::HashedString> mBarrierBlock;
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::reference_wrapper<::HashedString const>> const> mProhibitedBlocks;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 LakeFeature();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
33
34 virtual ~LakeFeature() /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
41 ::HashedString fluidBlock,
42 ::HashedString barrierBlock,
43 ::std::vector<::std::reference_wrapper<::HashedString const>> const& prohibitedBlocks
44 );
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCNAPI void* $ctor(
51 ::HashedString fluidBlock,
52 ::HashedString barrierBlock,
53 ::std::vector<::std::reference_wrapper<::HashedString const>> const& prohibitedBlocks
54 );
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCNAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Feature.h:18
Definition HashedString.h:5
MCAPI void $dtor()
MCAPI void * $ctor(::HashedString fluidBlock, ::HashedString barrierBlock, ::std::vector<::std::reference_wrapper<::HashedString const > > const &prohibitedBlocks)
static MCAPI void ** $vftable()
MCAPI LakeFeature(::HashedString fluidBlock, ::HashedString barrierBlock, ::std::vector<::std::reference_wrapper<::HashedString const > > const &prohibitedBlocks)
MCAPI bool $place(::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
Definition Random.h:10