LeviLamina
Loading...
Searching...
No Matches
ThinFenceBlock.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/BlockSupportType.h"
8#include "mc/world/level/block/BlockType.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class BaseGameVersion;
14class Block;
15class BlockPos;
16class BlockSource;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, bool const> mDoesNotCollideWithCamera;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 8
32 virtual void addAABBs(
33 ::Block const& block,
34 ::IConstBlockSource const& region,
35 ::BlockPos const& blockPos,
36 ::AABB const* intersectTestBox,
37 ::std::vector<::AABB>& inoutBoxes
38 ) const /*override*/;
39
40 // vIndex: 7
41 virtual bool addCollisionShapes(
42 ::Block const& block,
43 ::IConstBlockSource const& region,
44 ::BlockPos const& pos,
45 ::AABB const* intersectTestBox,
46 ::std::vector<::AABB>& inoutBoxes,
48 ) const /*override*/;
49
50 // vIndex: 10
51 virtual ::AABB const& getVisualShapeInWorld(
52 ::Block const& block,
53 ::IConstBlockSource const& region,
54 ::BlockPos const& pos,
55 ::AABB& bufferAABB
56 ) const /*override*/;
57
58 // vIndex: 5
59 virtual ::AABB getCollisionShape(
60 ::Block const& block,
61 ::IConstBlockSource const& region,
62 ::BlockPos const& pos,
64 ) const /*override*/;
65
66 // vIndex: 6
67 virtual bool getCollisionShapeForCamera(
68 ::AABB& outAABB,
69 ::Block const& block,
70 ::IConstBlockSource const& region,
71 ::BlockPos const& pos
72 ) const /*override*/;
73
74 // vIndex: 9
75 virtual ::AABB const& getOutline(
76 ::Block const& block,
77 ::IConstBlockSource const& region,
78 ::BlockPos const& pos,
79 ::AABB& bufferValue
80 ) const /*override*/;
81
82 // vIndex: 22
83 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const /*override*/;
84
85 // vIndex: 24
86 virtual bool canConnect(::Block const& otherBlock, uchar, ::Block const&) const /*override*/;
87
88 // vIndex: 33
89 virtual bool isThinFenceBlock() const /*override*/;
90
91 // vIndex: 13
92 virtual bool
93 getLiquidClipVolume(::Block const& block, ::BlockSource& region, ::BlockPos const& pos, ::AABB& includeBox) const
94 /*override*/;
95
96 // vIndex: 84
97 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
98
99 // vIndex: 0
100 virtual ~ThinFenceBlock() /*override*/;
101 // NOLINTEND
102
103public:
104 // static variables
105 // NOLINTBEGIN
106 MCAPI static ::BaseGameVersion const& THIN_FENCE_DOESNT_BREAK_FALLING_BLOCK_VERSION();
107 // NOLINTEND
108
109public:
110 // destructor thunk
111 // NOLINTBEGIN
112 MCFOLD void $dtor();
113 // NOLINTEND
114
115public:
116 // virtual function thunks
117 // NOLINTBEGIN
118 MCAPI void $addAABBs(
119 ::Block const& block,
120 ::IConstBlockSource const& region,
121 ::BlockPos const& blockPos,
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 const& $getVisualShapeInWorld(
136 ::Block const& block,
137 ::IConstBlockSource const& region,
138 ::BlockPos const& pos,
139 ::AABB& bufferAABB
140 ) const;
141
142 MCAPI ::AABB $getCollisionShape(
143 ::Block const& block,
144 ::IConstBlockSource const& region,
145 ::BlockPos const& pos,
147 ) const;
148
149 MCAPI bool $getCollisionShapeForCamera(
150 ::AABB& outAABB,
151 ::Block const& block,
152 ::IConstBlockSource const& region,
153 ::BlockPos const& pos
154 ) const;
155
156 MCFOLD ::AABB const& $getOutline(
157 ::Block const& block,
158 ::IConstBlockSource const& region,
159 ::BlockPos const& pos,
160 ::AABB& bufferValue
161 ) const;
162
163 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const;
164
165 MCFOLD bool $canConnect(::Block const& otherBlock, uchar, ::Block const&) const;
166
167 MCFOLD bool $isThinFenceBlock() const;
168
169 MCFOLD bool
170 $getLiquidClipVolume(::Block const& block, ::BlockSource& region, ::BlockPos const& pos, ::AABB& includeBox) const;
171
172 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
173 // NOLINTEND
174
175public:
176 // vftables
177 // NOLINTBEGIN
178 MCNAPI static void** $vftable();
179 // NOLINTEND
180};
Definition AABB.h:18
Definition BaseGameVersion.h:8
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition BlockType.h:84
Definition Block.h:37
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition ThinFenceBlock.h:21
static MCAPI void ** $vftable()
Definition optional_ref.h:10