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: 24
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: 83
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 // virtual function thunks
54 // NOLINTBEGIN
55 MCFOLD bool $canConnect(::Block const& otherBlock, uchar toOther, ::Block const& thisBlock) const;
56
57 MCAPI bool $getCollisionShapeForCamera(
58 ::AABB& outAABB,
59 ::Block const& block,
60 ::IConstBlockSource const& region,
61 ::BlockPos const& pos
62 ) const;
63
64 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition AABB.h:18
Definition BaseGameVersion.h:8
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition Block.h:38
Definition IConstBlockSource.h:24
Definition StainedGlassBlock.h:17
static MCAPI void ** $vftable()