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