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: 153
25 virtual ::ItemInstance const getBaseSeed() const /*override*/;
26
27 // vIndex: 118
28 virtual int getVariant(::Block const& block) const /*override*/;
29
30 // vIndex: 9
31 virtual ::AABB const&
32 getOutline(::Block const& block, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue)
33 const /*override*/;
34
35 // vIndex: 152
36 virtual ::Block const&
37 setGrowth(::BlockSource& region, ::BlockPos const& pos, ::Block const& baseBlock, ushort newGrowth, int updateFlags)
38 const /*override*/;
39
40 // vIndex: 74
41 virtual bool
42 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
43 /*override*/;
44
45 // vIndex: 0
46 virtual ~TorchflowerCropBlock() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::ItemInstance const $getBaseSeed() const;
59
60 MCAPI int $getVariant(::Block const& block) const;
61
62 MCAPI ::AABB const&
63 $getOutline(::Block const& block, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue)
64 const;
65
66 MCAPI ::Block const& $setGrowth(
67 ::BlockSource& region,
68 ::BlockPos const& pos,
69 ::Block const& baseBlock,
70 ushort newGrowth,
71 int updateFlags
72 ) const;
73
74 MCAPI bool
75 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition CropBlock.h:24
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition TorchflowerCropBlock.h:20