LeviLamina
Loading...
Searching...
No Matches
MossBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/FertilizerType.h"
7
#include "mc/world/level/block/BlockType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
Block
;
13
class
BlockPos
;
14
class
BlockSource
;
15
// clang-format on
16
17
class
MossBlock :
public
::BlockType {
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mOnFertilizeFeature;
22
// NOLINTEND
23
24
public
:
25
// prevent constructor by default
26
MossBlock();
27
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
virtual
bool
onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
*, ::FertilizerType)
const
32
/*override*/
;
33
34
virtual
bool
canBeFertilized(
::BlockSource
& aboveBlock,
::BlockPos
const
&,
::Block
const
&)
const
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// member functions
39
// NOLINTBEGIN
40
MCAPI MossBlock(::std::string
const
& nameId,
int
id
, ::std::optional<::std::string> onFertilizeFeature);
41
// NOLINTEND
42
43
public
:
44
// constructor thunks
45
// NOLINTBEGIN
46
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
, ::std::optional<::std::string> onFertilizeFeature);
47
// NOLINTEND
48
49
public
:
50
// virtual function thunks
51
// NOLINTBEGIN
52
MCAPI
bool
$onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
*, ::FertilizerType)
const
;
53
54
MCAPI
bool
$canBeFertilized(
::BlockSource
& aboveBlock,
::BlockPos
const
&,
::Block
const
&)
const
;
55
56
57
// NOLINTEND
58
59
public
:
60
// vftables
61
// NOLINTBEGIN
62
MCAPI
static
void
** $vftable();
63
// NOLINTEND
64
};
Actor
Definition
Actor.h:125
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
src
mc
world
level
block
MossBlock.h
Generated on
for LeviLamina by
1.16.1