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
WrappedLambdaDensityCalculator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/density/DensityDimensionality.h"
7
#include "mc/world/level/levelgen/density/calculators/IDensityCalculator.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
DensityAllocator
;
12
class
DensityCalculators
;
13
class
DensityVolume
;
14
class
Pos
;
15
// clang-format on
16
17
class
WrappedLambdaDensityCalculator
:
public
::IDensityCalculator
{
18
public
:
19
// WrappedLambdaDensityCalculator inner types define
20
using
LambdaDensityFuncAccessor = ::std::function<float(
::Pos
, ::std::vector<float>
const
&)>;
21
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::TypedStorage<8, 64, ::std::function<float(
::Pos
, ::std::vector<float>
const
&)>
const
> mAccessorFunc;
26
::ll::TypedStorage<8, 24, ::std::vector<ushort>
const
> mInputCalculatorIndices;
27
::ll::TypedStorage<1, 1, ::DensityDimensionality const> mDimensionality;
28
// NOLINTEND
29
30
public
:
31
// virtual functions
32
// NOLINTBEGIN
33
virtual
~WrappedLambdaDensityCalculator
()
/*override*/
=
default
;
34
35
virtual
void
fill(
::DensityVolume
&,
::DensityAllocator
&,
::DensityCalculators
const
&)
const
/*override*/
;
36
// NOLINTEND
37
};
DensityAllocator
Definition
DensityAllocator.h:10
DensityCalculators
Definition
DensityCalculators.h:10
DensityVolume
Definition
DensityVolume.h:13
IDensityCalculator
Definition
IDensityCalculator.h:12
Pos
Definition
Pos.h:5
WrappedLambdaDensityCalculator
Definition
WrappedLambdaDensityCalculator.h:17
src
mc
world
level
levelgen
density
calculators
WrappedLambdaDensityCalculator.h
Generated on
for LeviLamina by
1.16.1