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
SubChunkBrightnessStorage.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
class
SubChunkBrightnessStorage
{
6
public
:
7
// SubChunkBrightnessStorage inner types declare
8
// clang-format off
9
struct
LightPair
;
10
// clang-format on
11
12
// SubChunkBrightnessStorage inner types define
13
struct
LightPair
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
union
{
18
struct
{
19
uchar blockLight : 4;
20
uchar skyLight : 4;
21
};
22
::ll::TypedStorage<1, 1, uchar> raw;
23
};
24
// NOLINTEND
25
};
26
27
public
:
28
// member variables
29
// NOLINTBEGIN
30
::ll::TypedStorage<1, 2048, ::std::array<uchar, 2048>> mLightValues;
31
// NOLINTEND
32
};
SubChunkBrightnessStorage
Definition
SubChunkBrightnessStorage.h:5
SubChunkBrightnessStorage::LightPair
Definition
SubChunkBrightnessStorage.h:13
src
mc
world
level
chunk
SubChunkBrightnessStorage.h
Generated on
for LeviLamina by
1.16.1