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 // prevent constructor by default
23 TorchflowerCropBlock();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::ItemInstance const getBaseSeed() const /*override*/;
29
30 virtual int getVariant(::Block const& block) const /*override*/;
31
32 virtual ::AABB const& getOutline(
33 ::Block const& block,
34 ::IConstBlockSource const& region,
35 ::BlockPos const& pos,
36 ::AABB& bufferValue
37 ) const /*override*/;
38
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 virtual bool
48 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
49 /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI TorchflowerCropBlock(::std::string const& nameId, int id);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::std::string const& nameId, int id);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::ItemInstance const $getBaseSeed() const;
68
69 MCAPI int $getVariant(::Block const& block) const;
70
71 MCAPI ::AABB const& $getOutline(
72 ::Block const& block,
73 ::IConstBlockSource const& region,
74 ::BlockPos const& pos,
75 ::AABB& bufferValue
76 ) const;
77
78 MCAPI ::Block const& $setGrowth(
79 ::BlockSource& region,
80 ::BlockPos const& pos,
81 ::Block const& baseBlock,
82 ushort newGrowth,
83 int updateFlags
84 ) const;
85
86 MCAPI bool
87 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCAPI static void** $vftable();
96 // NOLINTEND
97};
Definition AABB.h:18
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition IConstBlockSource.h:24
Definition ItemInstance.h:15