LeviLamina
Loading...
Searching...
No Matches
BrewingStandBlock.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/level/block/ActorBlockBase.h"
8#include "mc/world/level/block/BlockSupportType.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockActor;
16class BlockLegacy;
17class BlockPos;
18class BlockSource;
21class ItemInstance;
22class Player;
24// clang-format on
25
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 123
31 virtual void animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const /*override*/;
32
33 // vIndex: 139
34 virtual bool use(::Player&, ::BlockPos const&, uchar) const /*override*/;
35
36 // vIndex: 90
37 virtual ::ItemInstance asItemInstance(::Block const&, ::BlockActor const*) const /*override*/;
38
39 // vIndex: 112
40 virtual ::std::string buildDescriptionId(::Block const&) const /*override*/;
41
42 // vIndex: 8
43 virtual void addAABBs(
44 ::Block const& block,
45 ::IConstBlockSource const& region,
46 ::BlockPos const& pos,
47 ::AABB const* intersectTestBox,
48 ::std::vector<::AABB>& inoutBoxes
49 ) const /*override*/;
50
51 // vIndex: 7
52 virtual bool addCollisionShapes(
53 ::Block const& block,
54 ::IConstBlockSource const& region,
55 ::BlockPos const& pos,
56 ::AABB const* intersectTestBox,
57 ::std::vector<::AABB>& inoutBoxes,
59 ) const /*override*/;
60
61 // vIndex: 5
62 virtual ::AABB
64 const /*override*/;
65
66 // vIndex: 9
67 virtual ::AABB const&
68 getOutline(::Block const&, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const
69 /*override*/;
70
71 // vIndex: 132
72 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
73
74 // vIndex: 138
75 virtual bool isInteractiveBlock() const /*override*/;
76
77 // vIndex: 29
78 virtual bool isContainerBlock() const /*override*/;
79
80 // vIndex: 30
81 virtual bool isCraftingBlock() const /*override*/;
82
83 // vIndex: 105
84 virtual bool hasComparatorSignal() const /*override*/;
85
86 // vIndex: 106
87 virtual int getComparatorSignal(::BlockSource& region, ::BlockPos const& pos, ::Block const& block, uchar dir) const
88 /*override*/;
89
90 // vIndex: 57
91 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
92 /*override*/;
93
94 // vIndex: 23
95 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const /*override*/;
96
97 // vIndex: 0
98 virtual ~BrewingStandBlock() /*override*/ = default;
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCAPI void $animateTickBedrockLegacy(::BlockAnimateTickData const& tickData) const;
111
112 MCFOLD bool $use(::Player&, ::BlockPos const&, uchar) const;
113
114 MCAPI ::ItemInstance $asItemInstance(::Block const&, ::BlockActor const*) const;
115
116 MCFOLD ::std::string $buildDescriptionId(::Block const&) const;
117
118 MCAPI void $addAABBs(
119 ::Block const& block,
120 ::IConstBlockSource const& region,
121 ::BlockPos const& pos,
122 ::AABB const* intersectTestBox,
123 ::std::vector<::AABB>& inoutBoxes
124 ) const;
125
126 MCFOLD bool $addCollisionShapes(
127 ::Block const& block,
128 ::IConstBlockSource const& region,
129 ::BlockPos const& pos,
130 ::AABB const* intersectTestBox,
131 ::std::vector<::AABB>& inoutBoxes,
133 ) const;
134
135 MCAPI ::AABB
137 const;
138
139 MCAPI ::AABB const&
140 $getOutline(::Block const&, ::IConstBlockSource const&, ::BlockPos const& pos, ::AABB& bufferValue) const;
141
142 MCAPI void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
143
144 MCFOLD bool $isInteractiveBlock() const;
145
146 MCFOLD bool $isContainerBlock() const;
147
148 MCFOLD bool $isCraftingBlock() const;
149
150 MCFOLD bool $hasComparatorSignal() const;
151
152 MCFOLD int
153 $getComparatorSignal(::BlockSource& region, ::BlockPos const& pos, ::Block const& block, uchar dir) const;
154
155 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
156
157 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const;
158 // NOLINTEND
159
160public:
161 // vftables
162 // NOLINTBEGIN
163 MCAPI static void** $vftable();
164 // NOLINTEND
165};
Definition AABB.h:16
Definition ActorBlockBase.h:6
Definition Actor.h:104
Definition BlockActor.h:32
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition BrewingStandBlock.h:26
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition Player.h:119
Definition optional_ref.h:10
Definition BlockAnimateTickData.h:5