LeviLamina
Loading...
Searching...
No Matches
ClayBlock.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/BlockLegacy.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 ClayBlock : public ::BlockLegacy {
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 // vIndex: 74
22 virtual bool
23 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* entity, ::FertilizerType fType) const
24 /*override*/;
25
26 // vIndex: 75
27 virtual bool mayConsumeFertilizer(::BlockSource& region) const /*override*/;
28
29 // vIndex: 76
30 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
31 /*override*/;
32
33 // vIndex: 46
34 virtual bool canBeOriginalSurface() const /*override*/;
35
36 // vIndex: 0
37 virtual ~ClayBlock() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCFOLD bool
50 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* entity, ::FertilizerType fType) const;
51
52 MCFOLD bool $mayConsumeFertilizer(::BlockSource& region) const;
53
54 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
55
56 MCFOLD bool $canBeOriginalSurface() const;
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCAPI static void** $vftable();
63 // NOLINTEND
64};
Definition Actor.h:104
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition ClayBlock.h:17