Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
HugeMushroomFeature.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
HugeMushroomFeature
:
public
::Feature
{
17
public
:
18
// HugeMushroomFeature inner types define
19
enum class
MushroomVariant :
int
{
20
Brown = 0,
21
Red = 1,
22
Count = 2,
23
RandomVariant = 3,
24
};
25
26
public
:
27
// member variables
28
// NOLINTBEGIN
29
::ll::TypedStorage<4, 4, ::HugeMushroomFeature::MushroomVariant> mForcedType;
30
// NOLINTEND
31
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// static functions
40
// NOLINTBEGIN
41
MCAPI
static
bool
_canSurvive(
::Block
const
& belowBlock);
42
// NOLINTEND
43
44
public
:
45
// virtual function thunks
46
// NOLINTBEGIN
47
MCNAPI
bool
$place
(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
48
49
50
// NOLINTEND
51
52
public
:
53
// vftables
54
// NOLINTBEGIN
55
MCNAPI
static
void
**
$vftable
();
56
// NOLINTEND
57
};
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
Block
Definition
Block.h:42
Feature
Definition
Feature.h:18
HugeMushroomFeature
Definition
HugeMushroomFeature.h:16
HugeMushroomFeature::$place
MCAPI bool $place(::BlockSource ®ion, ::BlockPos const &pos, ::Random &random) const
HugeMushroomFeature::$vftable
static MCAPI void ** $vftable()
Random
Definition
Random.h:10
src
mc
world
level
levelgen
feature
HugeMushroomFeature.h
Generated on
for LeviLamina by
1.16.1