LeviLamina
Loading...
Searching...
No Matches
TorchflowerCropBlock.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/CropBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
13class Block;
14class BlockPos;
15class BlockSource;
17class ItemInstance;
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 150
25 virtual ::ItemInstance const getBaseSeed() const /*override*/;
26
27 // vIndex: 117
28 virtual int getVariant(::Block const& block) const /*override*/;
29
30 // vIndex: 9
31 virtual ::AABB const& getOutline(
32 ::Block const& block,
33 ::IConstBlockSource const& region,
34 ::BlockPos const& pos,
35 ::AABB& bufferValue
36 ) const /*override*/;
37
38 // vIndex: 149
39 virtual ::Block const& setGrowth(
40 ::BlockSource& region,
41 ::BlockPos const& pos,
42 ::Block const& baseBlock,
43 ushort newGrowth,
44 int updateFlags
45 ) const /*override*/;
46
47 // vIndex: 73
48 virtual bool
49 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
50 /*override*/;
51
52 // vIndex: 0
53 virtual ~TorchflowerCropBlock() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI ::ItemInstance const $getBaseSeed() const;
60
61 MCAPI int $getVariant(::Block const& block) const;
62
63 MCAPI ::AABB const& $getOutline(
64 ::Block const& block,
65 ::IConstBlockSource const& region,
66 ::BlockPos const& pos,
67 ::AABB& bufferValue
68 ) const;
69
70 MCAPI ::Block const& $setGrowth(
71 ::BlockSource& region,
72 ::BlockPos const& pos,
73 ::Block const& baseBlock,
74 ushort newGrowth,
75 int updateFlags
76 ) const;
77
78 MCAPI bool
79 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition AABB.h:18
Definition Actor.h:103
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition CropBlock.h:25
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition TorchflowerCropBlock.h:20
static MCAPI void ** $vftable()