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
34
virtual
~VegetationFeature()
/*override*/
=
default
;
35
// NOLINTEND
36
37
public
:
38
// member functions
39
// NOLINTBEGIN
40
MCAPI
explicit
VegetationFeature(::std::vector<::WeightedBlockName>
const
& blocksToPlaceNames);
41
// NOLINTEND
42
43
public
:
44
// static functions
45
// NOLINTBEGIN
46
MCAPI
static
bool
47
placeBlock(
::BlockSource
& region,
::Block
const
& blockToPlace,
::BlockPos
const
& pos,
::Random
& random);
48
// NOLINTEND
49
50
public
:
51
// constructor thunks
52
// NOLINTBEGIN
53
MCAPI
void
* $ctor(::std::vector<::WeightedBlockName>
const
& blocksToPlaceNames);
54
// NOLINTEND
55
56
public
:
57
// virtual function thunks
58
// NOLINTBEGIN
59
MCAPI
bool
$place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
60
61
62
// NOLINTEND
63
64
public
:
65
// vftables
66
// NOLINTBEGIN
67
MCNAPI
static
void
**
$vftable
();
68
// NOLINTEND
69
};
BlockPos
Definition
BlockPos.h:19
BlockSource
Definition
BlockSource.h:68
Block
Definition
Block.h:43
Feature
Definition
Feature.h:18
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