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