LeviLamina
Loading...
Searching...
No Matches
StainedGlassBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockLegacy.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11class BaseGameVersion;
12class Block;
13class BlockPos;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mDoesDrops;
22 ::ll::TypedStorage<1, 1, bool> mDoesNotCollideWithCamera;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 25
29 virtual bool canConnect(::Block const& otherBlock, uchar toOther, ::Block const& thisBlock) const /*override*/;
30
31 // vIndex: 6
32 virtual bool getCollisionShapeForCamera(
33 ::AABB& outAABB,
34 ::Block const& block,
35 ::IConstBlockSource const& region,
36 ::BlockPos const& pos
37 ) const /*override*/;
38
39 // vIndex: 84
40 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
41
42 // vIndex: 0
43 virtual ~StainedGlassBlock() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // static variables
48 // NOLINTBEGIN
49 MCAPI static ::BaseGameVersion const& STAINED_GLASS_DOESNT_BREAK_FALLING_BLOCK_VERSION();
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCFOLD bool $canConnect(::Block const& otherBlock, uchar toOther, ::Block const& thisBlock) const;
62
63 MCAPI bool $getCollisionShapeForCamera(
64 ::AABB& outAABB,
65 ::Block const& block,
66 ::IConstBlockSource const& region,
67 ::BlockPos const& pos
68 ) const;
69
70 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78};
Definition AABB.h:16
Definition BaseGameVersion.h:13
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition Block.h:36
Definition IConstBlockSource.h:24
Definition StainedGlassBlock.h:17