LeviLamina
Loading...
Searching...
No Matches
MushroomBlock.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/BushBlock.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
class
Random
;
16
// clang-format on
17
18
class
MushroomBlock
:
public
::BushBlock
{
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
// vIndex: 137
23
virtual
void
randomTick(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
24
25
// vIndex: 80
26
virtual
bool
mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos, uchar face)
const
/*override*/
;
27
28
// vIndex: 81
29
virtual
bool
mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
30
31
// vIndex: 142
32
virtual
bool
canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
33
34
// vIndex: 74
35
virtual
bool
36
onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
* actor, ::FertilizerType fType)
const
37
/*override*/
;
38
39
// vIndex: 76
40
virtual
bool
canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& aboveBlock)
const
41
/*override*/
;
42
43
// vIndex: 0
44
virtual
~MushroomBlock
()
/*override*/
=
default
;
45
// NOLINTEND
46
47
public
:
48
// destructor thunk
49
// NOLINTBEGIN
50
51
// NOLINTEND
52
53
public
:
54
// virtual function thunks
55
// NOLINTBEGIN
56
MCAPI
void
$randomTick(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
57
58
MCAPI
bool
$mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos, uchar face)
const
;
59
60
MCAPI
bool
$mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
61
62
MCAPI
bool
$canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
63
64
MCAPI
bool
65
$onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
* actor, ::FertilizerType fType)
const
;
66
67
MCFOLD
bool
$canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& aboveBlock)
const
;
68
// NOLINTEND
69
70
public
:
71
// vftables
72
// NOLINTBEGIN
73
MCAPI
static
void
** $vftable();
74
// NOLINTEND
75
};
Actor
Definition
Actor.h:104
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
Block
Definition
Block.h:36
BushBlock
Definition
BushBlock.h:23
MushroomBlock
Definition
MushroomBlock.h:18
Random
Definition
Random.h:16
src
mc
world
level
block
MushroomBlock.h
Generated on Sat Apr 26 2025 05:56:21 for LeviLamina by
1.12.0