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/BlockType.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11class BaseGameVersion;
12class Block;
13class BlockPos;
15class Material;
16// clang-format on
17
18class GlassBlock : public ::BlockType {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mDoesDrops;
23 ::ll::TypedStorage<1, 1, bool> mCanBeUsedInCommands;
24 ::ll::TypedStorage<1, 1, bool> mDoesNotCollideWithCamera;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 GlassBlock();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual bool canBeUsedInCommands(::BaseGameVersion const& requiredBaseGameVersion) const /*override*/;
35
36 virtual bool breaksFallingBlocks(::Block const&, ::BaseGameVersion const) const /*override*/;
37
38 virtual bool getCollisionShapeForCamera(
39 ::AABB& outAABB,
40 ::Block const& block,
41 ::IConstBlockSource const& region,
42 ::BlockPos const& pos
43 ) const /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI GlassBlock(
50 ::std::string const& nameId,
51 int id,
52 ::Material const& material,
53 bool doesDrops,
54 bool useableInCommands,
55 bool doesNotCollideWithCamera
56 );
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(
63 ::std::string const& nameId,
64 int id,
65 ::Material const& material,
66 bool doesDrops,
67 bool useableInCommands,
68 bool doesNotCollideWithCamera
69 );
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI bool $canBeUsedInCommands(::BaseGameVersion const& requiredBaseGameVersion) const;
76
77 MCFOLD bool $breaksFallingBlocks(::Block const&, ::BaseGameVersion const) const;
78
79 MCAPI bool $getCollisionShapeForCamera(
80 ::AABB& outAABB,
81 ::Block const& block,
82 ::IConstBlockSource const& region,
83 ::BlockPos const& pos
84 ) const;
85
86
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftable();
93 // NOLINTEND
94};
Definition AABB.h:18
Definition BaseGameVersion.h:13
Definition BlockPos.h:21
Definition Block.h:69
Definition IConstBlockSource.h:24
Definition Material.h:8