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
UnknownBlockTypeRegistry.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/registry/IUnknownBlockTypeRegistry.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
BlockType
;
12
class
CompoundTag
;
13
// clang-format on
14
15
class
UnknownBlockTypeRegistry
:
public
::IUnknownBlockTypeRegistry
{
16
public
:
17
// UnknownBlockTypeRegistry inner types define
18
using
UnknownBlockLookupMap = ::std::map<uint64, ::std::unique_ptr<::BlockType>>;
19
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<8, 80, ::std::mutex> mMutex;
24
::ll::TypedStorage<8, 16, ::std::map<uint64, ::std::unique_ptr<::BlockType>>> mUnknownBlockLookupMap;
25
// NOLINTEND
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
~UnknownBlockTypeRegistry
()
/*override*/
=
default
;
31
32
virtual ::Block
const
& getUnknownBlock(
::CompoundTag
const
& serId)
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// virtual function thunks
37
// NOLINTBEGIN
38
MCNAPI ::Block
const
&
$getUnknownBlock
(
::CompoundTag
const
& serId);
39
40
41
// NOLINTEND
42
};
BlockType
Definition
BlockType.h:79
Block
Definition
Block.h:42
CompoundTag
Definition
CompoundTag.h:18
IUnknownBlockTypeRegistry
Definition
IUnknownBlockTypeRegistry.h:14
UnknownBlockTypeRegistry
Definition
UnknownBlockTypeRegistry.h:15
UnknownBlockTypeRegistry::$getUnknownBlock
MCAPI::Block const & $getUnknownBlock(::CompoundTag const &serId)
src
mc
world
level
block
registry
UnknownBlockTypeRegistry.h
Generated on
for LeviLamina by
1.16.1