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
SpringFeature.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
BlockType
;
14
class
Random
;
15
// clang-format on
16
17
class
SpringFeature :
public
::Feature
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 8, ::Block const&> mBlock;
22
// NOLINTEND
23
24
public
:
25
// prevent constructor by default
26
SpringFeature& operator=(SpringFeature
const
&);
27
SpringFeature(SpringFeature
const
&);
28
SpringFeature();
29
30
public
:
31
// virtual functions
32
// NOLINTBEGIN
33
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// static functions
38
// NOLINTBEGIN
39
MCNAPI
static
bool
isValidSpringBorderBlock
(
::BlockType
const
& block,
::BlockSource
& region);
40
// NOLINTEND
41
42
public
:
43
// virtual function thunks
44
// NOLINTBEGIN
45
MCNAPI
bool
$place
(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
46
47
48
// NOLINTEND
49
};
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
BlockType
Definition
BlockType.h:79
Block
Definition
Block.h:42
Feature
Definition
Feature.h:18
Random
Definition
Random.h:10
SpringFeature::isValidSpringBorderBlock
static MCAPI bool isValidSpringBorderBlock(::BlockType const &block, ::BlockSource ®ion)
SpringFeature::$place
MCAPI bool $place(::BlockSource ®ion, ::BlockPos const &pos, ::Random &random) const
src
mc
world
level
levelgen
feature
SpringFeature.h
Generated on
for LeviLamina by
1.16.1