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 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
26
27 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
28 /*override*/;
29
30 virtual bool
31 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
32 /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI BushBlock(::std::string const& nameId, int id);
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCAPI void* $ctor(::std::string const& nameId, int id);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCFOLD bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
51
52 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
53
54 MCAPI bool
55 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
56
57
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCAPI static void** $vftable();
64 // NOLINTEND
65};
Definition Actor.h:113
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Block.h:41
Definition FoliageBlock.h:21