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
CacheDensityCalculator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/threading/InstancedThreadLocal.h"
7
#include "mc/world/Pos.h"
8
#include "mc/world/level/levelgen/density/DensityVolume.h"
9
#include "mc/world/level/levelgen/density/calculators/IDensityCalculator.h"
10
11
// auto generated forward declare list
12
// clang-format off
13
class
DensityAllocator
;
14
class
DensityCalculators
;
15
class
DensityVolume
;
16
// clang-format on
17
18
class
CacheDensityCalculator
:
public
::IDensityCalculator
{
19
public
:
20
// CacheDensityCalculator inner types declare
21
// clang-format off
22
struct
CachedVolume
;
23
// clang-format on
24
25
// CacheDensityCalculator inner types define
26
struct
CachedVolume
{
27
public
:
28
// member variables
29
// NOLINTBEGIN
30
::ll::TypedStorage<4, 12, ::Pos> mPos;
31
::ll::TypedStorage<4, 12, ::Pos> mStep;
32
::ll::TypedStorage<2, 6, ::DensityVolume::Dimensions> mDimensions;
33
::ll::TypedStorage<8, 24, ::std::vector<float>> mData;
34
// NOLINTEND
35
};
36
37
public
:
38
// member variables
39
// NOLINTBEGIN
40
::ll::TypedStorage<2, 2, ushort> mInput;
41
::ll::TypedStorage<
42
8,
43
168,
44
::Bedrock::Threading::InstancedThreadLocal
<
45
::std::optional<::CacheDensityCalculator::CachedVolume const>,
46
::std::allocator<::std::optional<::CacheDensityCalculator::CachedVolume const>>>>
47
mLocalCachedVolume;
48
// NOLINTEND
49
50
public
:
51
// virtual functions
52
// NOLINTBEGIN
53
virtual
~CacheDensityCalculator
()
/*override*/
=
default
;
54
55
virtual
void
fill(
::DensityVolume
&,
::DensityAllocator
&,
::DensityCalculators
const
&)
const
/*override*/
;
56
// NOLINTEND
57
};
Bedrock::Threading::InstancedThreadLocal
Definition
InstancedThreadLocal.h:12
CacheDensityCalculator
Definition
CacheDensityCalculator.h:18
DensityAllocator
Definition
DensityAllocator.h:10
DensityCalculators
Definition
DensityCalculators.h:10
DensityVolume
Definition
DensityVolume.h:13
IDensityCalculator
Definition
IDensityCalculator.h:12
CacheDensityCalculator::CachedVolume
Definition
CacheDensityCalculator.h:26
src
mc
world
level
levelgen
density
calculators
CacheDensityCalculator.h
Generated on
for LeviLamina by
1.16.1