LeviLamina
Loading...
Searching...
No Matches
SeagrassFeature.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
// clang-format on
15
16
class
SeagrassFeature
:
public
::Feature
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 4, int const> mIterations;
21
::ll::TypedStorage<4, 4, float const> mTallSeagrassChance;
22
::ll::TypedStorage<8, 8, ::Block const&> mSeagrassBlock;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
SeagrassFeature
& operator=(
SeagrassFeature
const
&);
28
SeagrassFeature
(
SeagrassFeature
const
&);
29
SeagrassFeature
();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
// vIndex: 4
35
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
36
37
// vIndex: 0
38
virtual
~SeagrassFeature
()
/*override*/
=
default
;
39
// NOLINTEND
40
41
public
:
42
// member functions
43
// NOLINTBEGIN
44
MCAPI
void
45
_tryPlaceSeagrass(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random,
bool
isColdEnoughForIce)
const
;
46
47
MCAPI
void
_tryPlaceTallSeagrass(
::BlockSource
& region,
::BlockPos
const
& pos,
bool
isColdEnoughForIce)
const
;
48
// NOLINTEND
49
50
public
:
51
// virtual function thunks
52
// NOLINTBEGIN
53
MCAPI
bool
$place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
54
// NOLINTEND
55
56
public
:
57
// vftables
58
// NOLINTBEGIN
59
MCNAPI
static
void
**
$vftable
();
60
// NOLINTEND
61
};
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
SeagrassFeature
Definition
SeagrassFeature.h:16
SeagrassFeature::$vftable
static MCAPI void ** $vftable()
src-server
mc
world
level
levelgen
feature
SeagrassFeature.h
Generated on Sun Oct 12 2025 06:32:32 for LeviLamina by
1.12.0