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