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
DensityAllocator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/container/small_vector.h"
7
#include "mc/world/Pos.h"
8
#include "mc/world/level/levelgen/density/DensityVolume.h"
9
10
class
DensityAllocator
{
11
public
:
12
// DensityAllocator inner types declare
13
// clang-format off
14
struct
VolumeEntry
;
15
// clang-format on
16
17
// DensityAllocator inner types define
18
struct
VolumeEntry
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<4, 12, ::Pos> mMin;
23
::ll::TypedStorage<2, 6, ::DensityVolume::Dimensions> mDimensions;
24
::ll::TypedStorage<8, 24, ::std::vector<float>> mBuffer;
25
// NOLINTEND
26
};
27
28
public
:
29
// member variables
30
// NOLINTBEGIN
31
::ll::TypedStorage<8, 400, ::Bedrock::small_vector<::DensityAllocator::VolumeEntry, 8>> mEntries;
32
::ll::TypedStorage<4, 4, uint> mActiveCount;
33
// NOLINTEND
34
};
DensityAllocator
Definition
DensityAllocator.h:10
DensityAllocator::VolumeEntry
Definition
DensityAllocator.h:18
src
mc
world
level
levelgen
density
DensityAllocator.h
Generated on
for LeviLamina by
1.16.1