LeviLamina
Loading...
Searching...
No Matches
VegetationFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/feature/Feature.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
BlockPos
;
12
class
BlockSource
;
13
class
Random
;
14
struct
WeightedBlock
;
15
struct
WeightedBlockName
;
16
// clang-format on
17
18
class
VegetationFeature :
public
::Feature {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 24, ::std::vector<::WeightedBlock>> mBlocksToPlace;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
VegetationFeature();
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// member functions
37
// NOLINTBEGIN
38
MCAPI
explicit
VegetationFeature(::std::vector<::WeightedBlockName>
const
& blocksToPlaceNames);
39
// NOLINTEND
40
41
public
:
42
// static functions
43
// NOLINTBEGIN
44
MCAPI
static
bool
45
placeBlock(
::BlockSource
& region,
::Block
const
& blockToPlace,
::BlockPos
const
& pos,
::Random
& random);
46
// NOLINTEND
47
48
public
:
49
// constructor thunks
50
// NOLINTBEGIN
51
MCAPI
void
* $ctor(::std::vector<::WeightedBlockName>
const
& blocksToPlaceNames);
52
// NOLINTEND
53
54
public
:
55
// virtual function thunks
56
// NOLINTBEGIN
57
MCAPI
bool
$place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
58
59
60
// NOLINTEND
61
62
public
:
63
// vftables
64
// NOLINTBEGIN
65
MCNAPI
static
void
**
$vftable
();
66
// NOLINTEND
67
};
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
Random
Definition
Random.h:10
VegetationFeature::$vftable
static MCAPI void ** $vftable()
WeightedBlockName
Definition
WeightedBlockName.h:10
WeightedBlock
Definition
WeightedBlock.h:10
src
mc
world
level
levelgen
feature
VegetationFeature.h
Generated on
for LeviLamina by
1.16.1