LeviLamina
Loading...
Searching...
No Matches
GlassBlock.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
17class GlassBlock : public ::BlockLegacy {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mDoesDrops;
22 ::ll::TypedStorage<1, 1, bool> mCanBeUsedInCommands;
23 ::ll::TypedStorage<1, 1, bool> mDoesNotCollideWithCamera;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 24
30 virtual bool canConnect(::Block const& otherBlock, uchar toOther, ::Block const& thisBlock) const /*override*/;
31
32 // vIndex: 55
33 virtual bool canBeUsedInCommands(::BaseGameVersion const& requiredBaseGameVersion) const /*override*/;
34
35 // vIndex: 83
36 virtual bool breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const /*override*/;
37
38 // vIndex: 6
39 virtual bool getCollisionShapeForCamera(
40 ::AABB& outAABB,
41 ::Block const& block,
42 ::IConstBlockSource const& region,
43 ::BlockPos const& pos
44 ) const /*override*/;
45
46 // vIndex: 0
47 virtual ~GlassBlock() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCFOLD bool $canConnect(::Block const& otherBlock, uchar toOther, ::Block const& thisBlock) const;
54
55 MCAPI bool $canBeUsedInCommands(::BaseGameVersion const& requiredBaseGameVersion) const;
56
57 MCFOLD bool $breaksFallingBlocks(::Block const& block, ::BaseGameVersion const version) const;
58
59 MCAPI bool $getCollisionShapeForCamera(
60 ::AABB& outAABB,
61 ::Block const& block,
62 ::IConstBlockSource const& region,
63 ::BlockPos const& pos
64 ) 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 GlassBlock.h:17
static MCAPI void ** $vftable()
Definition IConstBlockSource.h:24