LeviLamina
Loading...
Searching...
No Matches
BushBlock.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/FoliageBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class BlockSource;
15// clang-format on
16
17class BushBlock : public ::FoliageBlock {
18public:
19 // prevent constructor by default
20 BushBlock();
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 78
26 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
27
28 // vIndex: 75
29 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
30 /*override*/;
31
32 // vIndex: 73
33 virtual bool
34 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
35 /*override*/;
36
37 // vIndex: 0
38 virtual ~BushBlock() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI BushBlock(::std::string const& nameId, int id);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::std::string const& nameId, int id);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCFOLD void $dtor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
63
64 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
65
66 MCAPI bool
67 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition Actor.h:103
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition BushBlock.h:17
static MCAPI void ** $vftable()
Definition FoliageBlock.h:23