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
// 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
// virtual functions
26
// NOLINTBEGIN
27
// vIndex: 4
28
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
29
30
// vIndex: 0
31
virtual
~VegetationFeature
()
/*override*/
=
default
;
32
// NOLINTEND
33
34
public
:
35
// static functions
36
// NOLINTBEGIN
37
MCAPI
static
bool
38
placeBlock(
::BlockSource
& region,
::Block
const
& blockToPlace,
::BlockPos
const
& pos,
::Random
& random);
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
MCAPI
bool
$place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
45
// NOLINTEND
46
47
public
:
48
// vftables
49
// NOLINTBEGIN
50
MCNAPI
static
void
**
$vftable
();
51
// NOLINTEND
52
};
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:66
Block
Definition
Block.h:37
Feature
Definition
Feature.h:18
Random
Definition
Random.h:10
VegetationFeature
Definition
VegetationFeature.h:17
VegetationFeature::$vftable
static MCAPI void ** $vftable()
WeightedBlock
Definition
WeightedBlock.h:10
src-server
mc
world
level
levelgen
feature
VegetationFeature.h
Generated on Sun Oct 12 2025 06:32:32 for LeviLamina by
1.12.0