LeviLamina
Loading...
Searching...
No Matches
TwistingVinesBlock.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;
21class Random;
22namespace BlockEvents { class BlockPlaceEvent; }
23namespace BlockEvents { class BlockQueuedTickEvent; }
24namespace BlockEvents { class BlockRandomTickEvent; }
25// clang-format on
26
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 132
32 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
33
34 // vIndex: 139
35 virtual bool use(::Player& player, ::BlockPos const& pos, uchar face) const /*override*/;
36
37 // vIndex: 79
38 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
39
40 // vIndex: 142
41 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
42
43 // vIndex: 87
44 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
45 /*override*/;
46
47 // vIndex: 5
48 virtual ::AABB
50 const /*override*/;
51
52 // vIndex: 9
53 virtual ::AABB const&
54 getOutline(::Block const&, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue) const
55 /*override*/;
56
57 // vIndex: 74
58 virtual bool
59 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
60 /*override*/;
61
62 // vIndex: 76
63 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
64 /*override*/;
65
66 // vIndex: 131
67 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
68
69 // vIndex: 0
70 virtual ~TwistingVinesBlock() /*override*/ = default;
71 // NOLINTEND
72
73public:
74 // member functions
75 // NOLINTBEGIN
76 MCAPI void _tick(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
77
78 MCAPI void _tryGrow(::BlockSource& region, ::BlockPos const& pos, int age) const;
79
80 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
81
82 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
83
84 MCAPI void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCFOLD void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
97
98 MCAPI bool $use(::Player& player, ::BlockPos const& pos, uchar face) const;
99
100 MCAPI bool $mayPlace(::BlockSource& region, ::BlockPos const& pos) const;
101
102 MCFOLD bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
103
104 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
105
106 MCFOLD ::AABB
108 const;
109
110 MCAPI ::AABB const&
111 $getOutline(::Block const&, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue) const;
112
113 MCAPI bool
114 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
115
116 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
117
118 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCAPI static void** $vftable();
125 // NOLINTEND
126};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockPlaceEvent.h:15
Definition BlockQueuedTickEvent.h:15
Definition BlockRandomTickEvent.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 Player.h:119
Definition Random.h:16
Definition TwistingVinesBlock.h:27
Definition optional_ref.h:10
Definition BlockRandomTickEvent.h:11