LeviLamina
Loading...
Searching...
No Matches
InfestedBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/string/HashedString.h"
7
#include "mc/world/level/block/BlockType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Block
;
12
class
BlockPos
;
13
class
BlockSource
;
14
struct
ResourceDropsContext
;
15
// clang-format on
16
17
class
InfestedBlock :
public
::BlockType {
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 48, ::HashedString const> mUninfestedBlockId;
22
// NOLINTEND
23
24
public
:
25
// prevent constructor by default
26
InfestedBlock();
27
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
virtual ::Block
const
* tryGetUninfested(
::Block
const
& block)
const
/*override*/
;
32
33
virtual
void
spawnAfterBreak(
34
::BlockSource
& region,
35
::Block
const
& pos,
36
::BlockPos
const
& resourceDropsContext,
37
::ResourceDropsContext
const
&
38
)
const
/*override*/
;
39
// NOLINTEND
40
41
public
:
42
// member functions
43
// NOLINTBEGIN
44
MCAPI InfestedBlock(::std::string
const
& nameId,
int
id
,
::HashedString
const
& uninfestedBlockId);
45
// NOLINTEND
46
47
public
:
48
// static functions
49
// NOLINTBEGIN
50
MCAPI
static
void
spawnSilverfish(
::BlockSource
& region,
::BlockPos
const
& pos);
51
// NOLINTEND
52
53
public
:
54
// constructor thunks
55
// NOLINTBEGIN
56
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
,
::HashedString
const
& uninfestedBlockId);
57
// NOLINTEND
58
59
public
:
60
// virtual function thunks
61
// NOLINTBEGIN
62
MCFOLD ::Block
const
* $tryGetUninfested(
::Block
const
& block)
const
;
63
64
MCAPI
void
$spawnAfterBreak(
65
::BlockSource
& region,
66
::Block
const
& pos,
67
::BlockPos
const
& resourceDropsContext,
68
::ResourceDropsContext
const
&
69
)
const
;
70
71
72
// NOLINTEND
73
74
public
:
75
// vftables
76
// NOLINTBEGIN
77
MCAPI
static
void
** $vftable();
78
// NOLINTEND
79
};
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
HashedString
Definition
HashedString.h:5
ResourceDropsContext
Definition
ResourceDropsContext.h:19
src
mc
world
level
block
InfestedBlock.h
Generated on
for LeviLamina by
1.16.1