LeviLamina
Loading...
Searching...
No Matches
MangrovePropaguleBlock.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/BushBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
13class Block;
14class BlockLegacy;
15class BlockPos;
16class BlockSource;
18class Random;
19class Vec3;
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 125
27 virtual ::BlockLegacy& init() /*override*/;
28
29 // vIndex: 81
30 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
31
32 // vIndex: 76
33 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
34 /*override*/;
35
36 // vIndex: 142
37 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
38
39 // vIndex: 137
40 virtual void randomTick(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
41
42 // vIndex: 74
43 virtual bool
44 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
45 /*override*/;
46
47 // vIndex: 11
48 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
49
50 // vIndex: 118
51 virtual int getVariant(::Block const& block) const /*override*/;
52
53 // vIndex: 15
54 virtual ::Vec3 randomlyModifyPosition(::BlockPos const& pos) const /*override*/;
55
56 // vIndex: 9
57 virtual ::AABB const&
58 getOutline(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const
59 /*override*/;
60
61 // vIndex: 0
62 virtual ~MangrovePropaguleBlock() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI bool _growTree(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
69
70 MCAPI bool _isFullyGrown(::Block const& block) const;
71
72 MCAPI bool _isHanging(::Block const& block) const;
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI ::BlockLegacy& $init();
85
86 MCAPI bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
87
88 MCAPI bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
89
90 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
91
92 MCAPI void $randomTick(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
93
94 MCAPI bool
95 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
96
97 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
98
99 MCAPI int $getVariant(::Block const& block) const;
100
101 MCAPI ::Vec3 $randomlyModifyPosition(::BlockPos const& pos) const;
102
103 MCFOLD ::AABB const&
104 $getOutline(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const;
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCAPI static void** $vftable();
111 // NOLINTEND
112};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition BushBlock.h:23
Definition IConstBlockSource.h:24
Definition MangrovePropaguleBlock.h:22
Definition Random.h:16
Definition Vec3.h:10