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/BlockType.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
17class StainedGlassBlock : public ::BlockType {
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 virtual bool getCollisionShapeForCamera(
29 ::AABB& outAABB,
30 ::Block const& block,
31 ::IConstBlockSource const& region,
32 ::BlockPos const& pos
33 ) const /*override*/;
34
35 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
36
37 virtual ~StainedGlassBlock() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // static variables
42 // NOLINTBEGIN
43 MCAPI static ::BaseGameVersion const& STAINED_GLASS_DOESNT_BREAK_FALLING_BLOCK_VERSION();
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI bool $getCollisionShapeForCamera(
50 ::AABB& outAABB,
51 ::Block const& block,
52 ::IConstBlockSource const& region,
53 ::BlockPos const& pos
54 ) const;
55
56 MCAPI bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
57
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition AABB.h:18
Definition BaseGameVersion.h:8
Definition BlockPos.h:19
Definition Block.h:43
Definition IConstBlockSource.h:25
Definition StainedGlassBlock.h:17
static MCAPI void ** $vftable()