LeviLamina
Loading...
Searching...
No Matches
PinkPetalsBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/item/FertilizerType.h"
8#include "mc/world/level/block/BlockLegacy.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockPos;
16class BlockSource;
17class Experiments;
20class Player;
21namespace BlockEvents { class BlockQueuedTickEvent; }
22// clang-format on
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 118
29 virtual int getVariant(::Block const& block) const /*override*/;
30
31 // vIndex: 81
32 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
33
34 // vIndex: 142
35 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
36
37 // vIndex: 87
38 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
39 /*override*/;
40
41 // vIndex: 139
42 virtual bool use(::Player& player, ::BlockPos const& pos, uchar face) const /*override*/;
43
44 // vIndex: 5
45 virtual ::AABB
47 const /*override*/;
48
49 // vIndex: 74
50 virtual bool
51 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
52 /*override*/;
53
54 // vIndex: 76
55 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
56 /*override*/;
57
58 // vIndex: 131
59 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
60
61 // vIndex: 0
62 virtual ~PinkPetalsBlock() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCFOLD void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
69 // NOLINTEND
70
71public:
72 // static functions
73 // NOLINTBEGIN
74 MCAPI static bool tryGrow(::BlockSource& region, ::BlockPos pos);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCFOLD int $getVariant(::Block const& block) const;
87
88 MCFOLD bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
89
90 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
91
92 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
93
94 MCAPI bool $use(::Player& player, ::BlockPos const& pos, uchar face) const;
95
96 MCFOLD ::AABB
98 const;
99
100 MCAPI bool
101 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
102
103 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
104
105 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
106 // NOLINTEND
107
108public:
109 // vftables
110 // NOLINTBEGIN
111 MCAPI static void** $vftable();
112 // NOLINTEND
113};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockQueuedTickEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition PinkPetalsBlock.h:24
Definition Player.h:119
Definition optional_ref.h:10