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