LeviLamina
Loading...
Searching...
No Matches
ChainBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockSupportType.h"
7#include "mc/world/level/block/RotatedPillarBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Block;
13class Material;
14// clang-format on
15
16class ChainBlock : public ::RotatedPillarBlock {
17public:
18 // prevent constructor by default
19 ChainBlock();
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
25
26 virtual bool canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const /*override*/;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ChainBlock(::std::string const& nameId, int id, ::Material const& material);
33
34 MCAPI void _shapeFromAlignment(::Block const& block, ::AABB& bufferAABB) const;
35 // NOLINTEND
36
37public:
38 // constructor thunks
39 // NOLINTBEGIN
40 MCAPI void* $ctor(::std::string const& nameId, int id, ::Material const& material);
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
47
48 MCAPI bool $canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const;
49
50
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCAPI static void** $vftable();
57 // NOLINTEND
58};
Definition AABB.h:18
Definition Block.h:69
Definition Material.h:8