LeviLamina
Loading...
Searching...
No Matches
LodestoneBlockActor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/PositionTrackingId.h"
7
#include "mc/world/level/block/actor/BlockActor.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockActorDataPacket
;
12
class
BlockPos
;
13
class
BlockSource
;
14
class
CompoundTag
;
15
class
DataLoadHelper
;
16
class
ILevel
;
17
class
SaveContext
;
18
// clang-format on
19
20
class
LodestoneBlockActor :
public
::BlockActor {
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<4, 4, ::PositionTrackingId> mTrackingDBHandle;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
LodestoneBlockActor();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
virtual
void
tick(
::BlockSource
& region)
/*override*/
;
35
36
virtual
void
onRemoved(
::BlockSource
& region)
/*override*/
;
37
38
virtual
void
load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
39
40
virtual
bool
save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
/*override*/
;
41
42
virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource
&)
/*override*/
;
43
44
virtual
void
_onUpdatePacket(
::CompoundTag
const
& data,
::BlockSource
& region)
/*override*/
;
45
// NOLINTEND
46
47
public
:
48
// member functions
49
// NOLINTBEGIN
50
MCAPI
explicit
LodestoneBlockActor(
::BlockPos
const
& pos);
51
52
MCFOLD ::PositionTrackingId
const
& getTrackingHandle()
const
;
53
54
MCAPI
bool
hasTrackingHandle()
const
;
55
56
MCAPI
bool
setTrackingHandle(
::PositionTrackingId
const
& h);
57
// NOLINTEND
58
59
public
:
60
// static variables
61
// NOLINTBEGIN
62
MCAPI static ::std::string
const
& sTagName_Handle();
63
// NOLINTEND
64
65
public
:
66
// constructor thunks
67
// NOLINTBEGIN
68
MCAPI
void
* $ctor(
::BlockPos
const
& pos);
69
// NOLINTEND
70
71
public
:
72
// virtual function thunks
73
// NOLINTBEGIN
74
MCAPI
void
$tick(
::BlockSource
& region);
75
76
MCAPI
void
$onRemoved(
::BlockSource
& region);
77
78
MCAPI
void
$load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
79
80
MCAPI
bool
$save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
81
82
MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource
&);
83
84
MCFOLD
void
$_onUpdatePacket(
::CompoundTag
const
& data,
::BlockSource
& region);
85
86
87
// NOLINTEND
88
89
public
:
90
// vftables
91
// NOLINTBEGIN
92
MCNAPI
static
void
**
$vftable
();
93
// NOLINTEND
94
};
BlockActorDataPacket
Definition
BlockActorDataPacket.h:19
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
CompoundTag
Definition
CompoundTag.h:23
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:219
LodestoneBlockActor::$vftable
static MCAPI void ** $vftable()
PositionTrackingId
Definition
PositionTrackingId.h:10
SaveContext
Definition
SaveContext.h:5
src
mc
world
level
block
actor
LodestoneBlockActor.h
Generated on
for LeviLamina by
1.16.1