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 // prevent constructor by default
27 StainedGlassBlock();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool getCollisionShapeForCamera(
33 ::AABB& outAABB,
34 ::Block const& block,
35 ::IConstBlockSource const& region,
36 ::BlockPos const& pos
37 ) const /*override*/;
38
39 virtual bool breaksFallingBlocks(::Block const& version, ::BaseGameVersion const) const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI StainedGlassBlock(::std::string const& nameId, int id, bool doesDrops, bool doesNotCollideWithCamera);
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCAPI static ::BaseGameVersion const& STAINED_GLASS_DOESNT_BREAK_FALLING_BLOCK_VERSION();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(::std::string const& nameId, int id, bool doesDrops, bool doesNotCollideWithCamera);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI bool $getCollisionShapeForCamera(
64 ::AABB& outAABB,
65 ::Block const& block,
66 ::IConstBlockSource const& region,
67 ::BlockPos const& pos
68 ) const;
69
70 MCAPI bool $breaksFallingBlocks(::Block const& version, ::BaseGameVersion const) const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCAPI static void** $vftable();
79 // NOLINTEND
80};
Definition AABB.h:18
Definition BaseGameVersion.h:13
Definition BlockPos.h:21
Definition Block.h:69
Definition IConstBlockSource.h:24