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