LeviLamina
Loading...
Searching...
No Matches
BlockComponentDescription.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/util/json_util/JsonSchemaObjectNode.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockComponentFactory
;
11
class
BlockComponentStorage
;
12
class
CompoundTag
;
13
class
EntityContext
;
14
class
SemVersion
;
15
struct
BlockComponentGroupDescription
;
16
namespace
JsonUtil {
class
EmptyClass; }
17
namespace
cereal {
struct
ReflectionCtx; }
18
// clang-format on
19
20
struct
BlockComponentDescription
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::UntypedStorage<1, 1>
mUnke3e67a;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
BlockComponentDescription
& operator=(
BlockComponentDescription
const
&);
30
BlockComponentDescription
(
BlockComponentDescription
const
&);
31
BlockComponentDescription
();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
// vIndex: 0
37
virtual
~BlockComponentDescription
();
38
39
// vIndex: 1
40
virtual ::std::string
const
& getName()
const
;
41
42
// vIndex: 3
43
virtual
void
initializeComponent(
::EntityContext
& entity)
const
;
44
45
// vIndex: 2
46
virtual
void
initializeComponent(
::BlockComponentStorage
& blockComponentStorage)
const
;
47
48
// vIndex: 5
49
virtual
void
initializeComponentFromCode(
::EntityContext
& entity)
const
;
50
51
// vIndex: 4
52
virtual
void
initializeComponentFromCode(
::BlockComponentStorage
& blockComponentStorage)
const
;
53
54
// vIndex: 6
55
virtual
void
buildSchema(
56
::std::shared_ptr<
::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockComponentGroupDescription>
>&
57
componentSchema,
58
::BlockComponentFactory
const
& factory
59
)
const
;
60
61
// vIndex: 7
62
virtual
bool
isNetworkComponent()
const
;
63
64
// vIndex: 8
65
virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
;
66
67
// vIndex: 9
68
virtual
void
initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
);
69
70
// vIndex: 10
71
virtual
void
handleVersionBasedInitialization(
::SemVersion
const
& originalJsonVersion);
72
// NOLINTEND
73
74
public
:
75
// destructor thunk
76
// NOLINTBEGIN
77
MCNAPI
void
$dtor
();
78
// NOLINTEND
79
80
public
:
81
// virtual function thunks
82
// NOLINTBEGIN
83
MCNAPI ::std::string
const
&
$getName
()
const
;
84
85
MCNAPI
void
$initializeComponent
(
::EntityContext
& entity)
const
;
86
87
MCNAPI
void
$initializeComponent
(
::BlockComponentStorage
& blockComponentStorage)
const
;
88
89
MCNAPI
void
$initializeComponentFromCode
(
::EntityContext
& entity)
const
;
90
91
MCNAPI
void
$initializeComponentFromCode
(
::BlockComponentStorage
& blockComponentStorage)
const
;
92
93
MCNAPI
void
$buildSchema
(
94
::std::shared_ptr<
::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockComponentGroupDescription>
>&
95
componentSchema,
96
::BlockComponentFactory
const
& factory
97
)
const
;
98
99
MCNAPI
bool
$isNetworkComponent
()
const
;
100
101
MCNAPI ::std::unique_ptr<::CompoundTag>
$buildNetworkTag
(
::cereal::ReflectionCtx
const
&
ctx
)
const
;
102
103
MCNAPI
void
$initializeFromNetwork
(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
);
104
105
MCNAPI
void
$handleVersionBasedInitialization
(
::SemVersion
const
& originalJsonVersion);
106
// NOLINTEND
107
108
public
:
109
// vftables
110
// NOLINTBEGIN
111
MCNAPI
static
void
**
$vftable
();
112
// NOLINTEND
113
};
BlockComponentFactory
Definition
BlockComponentFactory.h:19
BlockComponentStorage
Definition
BlockComponentStorage.h:8
CompoundTag
Definition
CompoundTag.h:13
EntityContext
Definition
EntityContext.h:16
JsonUtil::JsonSchemaObjectNode
Definition
JsonSchemaObjectNode.h:8
SemVersion
Definition
SemVersion.h:15
BlockComponentDescription
Definition
BlockComponentDescription.h:20
BlockComponentDescription::$dtor
MCAPI void $dtor()
BlockComponentDescription::$buildNetworkTag
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
BlockComponentDescription::$initializeFromNetwork
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
BlockComponentDescription::$handleVersionBasedInitialization
MCAPI void $handleVersionBasedInitialization(::SemVersion const &originalJsonVersion)
BlockComponentDescription::$initializeComponent
MCAPI void $initializeComponent(::BlockComponentStorage &blockComponentStorage) const
BlockComponentDescription::$initializeComponent
MCAPI void $initializeComponent(::EntityContext &entity) const
BlockComponentDescription::$initializeComponentFromCode
MCAPI void $initializeComponentFromCode(::BlockComponentStorage &blockComponentStorage) const
BlockComponentDescription::$isNetworkComponent
MCAPI bool $isNetworkComponent() const
BlockComponentDescription::$buildSchema
MCAPI void $buildSchema(::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockComponentGroupDescription > > &componentSchema, ::BlockComponentFactory const &factory) const
BlockComponentDescription::$initializeComponentFromCode
MCAPI void $initializeComponentFromCode(::EntityContext &entity) const
BlockComponentDescription::$vftable
static MCAPI void ** $vftable()
BlockComponentDescription::$getName
MCAPI::std::string const & $getName() const
BlockComponentGroupDescription
Definition
BlockComponentGroupDescription.h:12
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
block
components
BlockComponentDescription.h
Generated on Fri Jun 13 2025 05:05:14 for LeviLamina by
1.12.0