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
BlockPos
;
11
class
BlockSource
;
12
class
Random
;
13
struct
WeightedBlock
;
14
struct
WeightedBlockName
;
15
// clang-format on
16
17
class
VegetationFeature :
public
::Feature
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 24, ::std::vector<::WeightedBlock>> mBlocksToPlace;
22
// NOLINTEND
23
24
public
:
25
// prevent constructor by default
26
VegetationFeature();
27
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
32
// NOLINTEND
33
34
public
:
35
// member functions
36
// NOLINTBEGIN
37
MCAPI
explicit
VegetationFeature(::std::vector<::WeightedBlockName>
const
& blocksToPlaceNames);
38
// NOLINTEND
39
40
public
:
41
// constructor thunks
42
// NOLINTBEGIN
43
MCAPI
void
* $ctor(::std::vector<::WeightedBlockName>
const
& blocksToPlaceNames);
44
// NOLINTEND
45
46
public
:
47
// virtual function thunks
48
// NOLINTBEGIN
49
MCAPI
bool
$place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
50
51
52
// NOLINTEND
53
};
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
Feature
Definition
Feature.h:18
Random
Definition
Random.h:10
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