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
NbtToBlockCache.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/block_serialization_utils/NBTState.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
// clang-format on
12
13
namespace
BlockSerializationUtils {
14
15
struct
NbtToBlockCache
{
16
public
:
17
// NbtToBlockCache inner types declare
18
// clang-format off
19
struct
Comparator
;
20
struct
Key
;
21
// clang-format on
22
23
// NbtToBlockCache inner types define
24
struct
Comparator
{};
25
26
struct
Key
{
27
public
:
28
// member variables
29
// NOLINTBEGIN
30
::ll::TypedStorage<8, 8, uint64 const> mMainHash;
31
::ll::TypedStorage<8, 8, uint64 const> mNameHash;
32
::ll::TypedStorage<4, 4, uint const> mVersion;
33
// NOLINTEND
34
};
35
36
public
:
37
// member variables
38
// NOLINTBEGIN
39
::ll::TypedStorage<
40
8,
41
16,
42
::std::map<
43
::BlockSerializationUtils::NbtToBlockCache::Key
,
44
::std::pair<::BlockSerializationUtils::NBTState, ::Block const*>,
45
::BlockSerializationUtils::NbtToBlockCache::Comparator
>>
46
mCache;
47
::ll::TypedStorage<8, 80, ::std::mutex> mMutex;
48
// NOLINTEND
49
};
50
51
}
// namespace BlockSerializationUtils
Block
Definition
Block.h:42
BlockSerializationUtils::NbtToBlockCache::Comparator
Definition
NbtToBlockCache.h:24
BlockSerializationUtils::NbtToBlockCache::Key
Definition
NbtToBlockCache.h:26
BlockSerializationUtils::NbtToBlockCache
Definition
NbtToBlockCache.h:15
src
mc
world
level
block
block_serialization_utils
NbtToBlockCache.h
Generated on
for LeviLamina by
1.16.1